Closed
Description
We are using Oracle Database 12c Enterprise Edition Release 12.2.0.1.0, which from what I researched it seems the issue is coming from this statement since 12c doesn't allow limits in select_for_update
statements. We were able to fix it with:
try:
self = refresh_token_model.select_for_update().get(
pk=self.pk, revoked__isnull=True
)
except refresh_token_model.DoesNotExist:
return
It would be great if we could stop maintaining the fork and just use the release version.