Refresh token not working on oauth2 scheme with IdentityServer4 #1482
Unanswered
andoni97
asked this question in
Support Requests
Replies: 1 comment
-
I had the same problem with keycloak also using oauth2, same version of auth-next. For all people running into similar problems with keycloak: make sure to set the timeouts for SSO session idle and max a lot greater than token lifespan. After doing this it worked perfectly fine. Btw: If you use apollo graphql client you can use this with auth-next to set your token:
This is not the best solution but a good starting point. ;) |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently developing an application in Nuxtjs, I added @nuxtjs/auth to handle the login and refresh token login but the refresh token expires and never refreshes. Configuration in my nuxt.config.ts
The login function I call:
await this.$auth.loginWith('social')
The function that I call after the login redirect:
My package.json:
But for some strange reason after 15 to 20 minutes the access token expires and is not refreshed.
Thanks in advance for the help
Beta Was this translation helpful? Give feedback.
All reactions