Replies: 3 comments
-
I'm facing with the same issue, would love to hear from other. Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here too |
Beta Was this translation helpful? Give feedback.
0 replies
-
If anyone facing this issue in 25, try putting session: {
strategy: "jwt",
maxAge: 72 * 60 * 60
},
jwt:{
maxAge: 72 * 60 * 60
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question 💬
I have added a jwt strategy and I've been trying to simulate token expiry on my local.
This is my
lib/session
This is my jwt config at the moment
I am seeing this in my console.
Is there an API i can use to find out if the said user's token expired? I'd like to show a message on the UI for the user to explain that their session has expired and they need to log back in
How to reproduce ☕️
Set a low maxAge on jwt config like this in your providers
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions