-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Verify jwt expiration time #13
Comments
From the Joken documentation, the jwt created by the library as an expiration time of 2h: Looking at how we can increase this value |
It's strange that in your case it happenes around 30mn.
I'm going to create a PR soon to define the expiration time to 1 year. We'll then be able to test the jwt and see if it might be other claims which might invalidate your jwt |
I logged in with GitHub Auth and created a few items with timers. When I visit the But when I visit https://app-mvp-elm.herokuapp.com/capture Suspect there is still an issue with the JWT? 🤔 |
I've checked again the documentation on how to define a new expiration time and instead of the keyword see https://hexdocs.pm/joken/Joken.Config.html#default_claims/1 |
While using the authentication service I noticed the application returns sometimes
unauthorized
response.see
auth-mvp/lib/auth_mvp_web/controllers/google_auth_controller.ex
Line 24 in 48c5450
The text was updated successfully, but these errors were encountered: