Skip to content
Discussion options

You must be logged in to vote

I get Signature Error when verifying the tokens in https://jwt.io. The same secret gives me different tokens, so these ones should work.

For postgrest_authenticator:

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoicG9zdGdyZXN0X2F1dGhlbnRpY2F0b3IiLCJleHAiOjI2ODY3MTk4NjJ9.6pwqDgum4zi6AAm1ZE14Gerla62jFahda5RxewDQm38

For nikolai.nalbantov (this should give a "JWT expired" error):

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoibmlrb2xhaS5uYWxiYW50b3YiLCJleHAiOjE2ODY3MzQzMjR9.JL0VjzaH_N5310cWn3Pa8xr4_SUWxUtb4sswxdTLTl4

I got curious and verified that using 'WHPPJMDJZCYRGBJTNIWASUXFEUVJQWAII' (including the ') as secret worked for your examples. Removing the ' when building your JWT should …

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@laurenceisla
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Nick-Nal
Comment options

Answer selected by Nick-Nal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants