damp-flag-99267
02/29/2024, 7:13 PMrefresh_token
and potentially revoke the token in that logic. However, while the hook does get called during the refresh token flow, it does not actually provide the refresh_token
itself to the hook. And the only way to officially revoke is through the endpoint that requires the token. I can restrict access by returning a 403 Forbidden
from the hook, but that still leaves the token active.
Do I venture down a path to directly edit the PGSQL db and revoke it myself, or is there a better way?
The only other alternative I can see right now is to just keep returning the 403
forever, but that really just means keeping a duplicate table where I associate something like the token signature (that is passed to the hook) with the status.