Skip to content

Upgrading postgREST from 10 to 11, JWT 'exp' no longer working, 'intarray' extension not functioning #3115

Answered by laurenceisla
StephenWall asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the extra info! Now I see that it may be related to this change introduced in 11.0.1 #2772. It mentions that a skew is used to validate the JWT expiration, so the tokens now expire 30 secs after the exp time. It's based on the Google recommended skew of 30s. I believe your tests should pass if you generate them 30 seconds before the expected exp time.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by wolfgangwalther
Comment options

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

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