#JWT Token

3 messages · Page 1 of 1 (latest)

stiff apex
#

I am stuck at authenticating the JWT token.

I have configured Private and Public key by following the documentation: https://labs.convex.dev/auth/setup/manual, but when I am pasting the token in https://jwt.io/ the iss is not showing up, instead I am getting error that the token is incorrect.

JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.

true mist
#

A few suggestions for things to check:

  • Does this also happen in incognito? If not, it's likely a token that's floating around in local storage / cookies that needs to be deleted
  • When pasting the token into jwt.io, make sure you're grabbing the full token (they're quite long and it's easy to accidentally copy only part of it. They usually start with eyJ
  • Double check your env vars -- watch out for things like extra quotes or missing braces
#

^^ here's what my env vars look like on one of my deployments for reference