Access Token is unusable to authenticate on backend #31034
Replies: 1 comment 7 replies
-
Are you using the JWT secret from your instance to validate the JWT signature. ? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! To start this thread, here is my use case:
access_token
generated to my backend to accept authenticated requestsBUT
Authorization: Bearer access_token_value_here,
a 401 (Unauthorized) is always returnedAuthorization: Bearer ...
has an invalid signatureI am getting my access token by using the session of a Supabase instance:
On jwt.io, the header and payload of my token have the right values. It's the signature that can't be validated. I assume I am getting the 401 Unauthorized because
Quarkus
is not letting me use JWT with invalid signatures.Why do my tokens have an invalid signature? What would be the best way for me to authenticate to my own backend with Supabase?
Beta Was this translation helpful? Give feedback.
All reactions