-
Notifications
You must be signed in to change notification settings - Fork 388
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
MaxRefresh parameter question. #315
Comments
ghost
changed the title
MaxReflesh parameter question.
MaxRefresh parameter question.
Feb 18, 2023
是国人是吧? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I have a question.
I'm not very good at English, so I'm sorry if I'm grammatically incorrect.
If there's any part of it that doesn't make sense, please let me know!
When I tried refresh for timed out token, but server reply "401 Unauthorized" status.
I thought this library can't update timed out token, but I'm found this comment in "auth_jwt.go" at line 45.
gin-jwt/auth_jwt.go
Line 45 in dccd654
I was set "Timeout: time.Second" and "MaxRefresh: time.Hour" and retried timed out token refresh about 10 seconds later.
I'm expected server reply "200 OK" and return refreshed token, but server as usual reply "401 Unauthorized".
I do not know why it behaves this way. Can someone please tell me what it is?
The text was updated successfully, but these errors were encountered: