We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, if an authenticated endpoint is hit with no access_token, an "UNAUTHORIZED" error is returned, which is correct behaviour.
However, if I hit the same endpoint with a valid access_token but that token has expired, I should get a different error such as "INVALID_TOKEN".
The code must already doing checks against the token to determine its expired, so I presume at that point EG should return a different error.
I think this could be linked in with issue #692 .
The text was updated successfully, but these errors were encountered:
They're not linked issues. #692 is about proxy errors — this is an authentication error that's handle per policy.
To close this issue there are couple of modifications needed in both JWT verifier policy as well as the opaque token verification.
Sorry, something went wrong.
XVincentX
No branches or pull requests
Currently, if an authenticated endpoint is hit with no access_token, an "UNAUTHORIZED" error is returned, which is correct behaviour.
However, if I hit the same endpoint with a valid access_token but that token has expired, I should get a different error such as "INVALID_TOKEN".
The code must already doing checks against the token to determine its expired, so I presume at that point EG should return a different error.
I think this could be linked in with issue #692 .
The text was updated successfully, but these errors were encountered: