You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A user makes a request to the API and includes their Authorization header. The token contained therein was encoded with the Panoptes staging key, and the first attempt to verify it (via the :authenticated_admin? method in the PanoptesApi service) causes the jwt gem to raise a JWT::VerificationError.
Currently this causes a 500 and a report to Sentry. This error, or maybe a more comprehensive group of potential JWT:: errors, should be caught and serialized back.
The text was updated successfully, but these errors were encountered:
A user makes a request to the API and includes their
Authorization
header. The token contained therein was encoded with the Panoptes staging key, and the first attempt to verify it (via the:authenticated_admin?
method in the PanoptesApi service) causes the jwt gem to raise aJWT::VerificationError
.Currently this causes a 500 and a report to Sentry. This error, or maybe a more comprehensive group of potential
JWT::
errors, should be caught and serialized back.The text was updated successfully, but these errors were encountered: