Refresh tokens. v5. #1653
Unanswered
cwe-dev
asked this question in
Support Requests
Replies: 3 comments
-
I’m also not sure if I’m doing something wrong but I'm experimenting the same problem using version When I manually call |
Beta Was this translation helpful? Give feedback.
0 replies
-
could it be related to - #1417 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Connecting #1694 |
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
-
Hi all.
i have a problem with refresh tokens. i tried do local scheme \ laravel/jwt scheme and broke at enable refresh tokens.
"@nuxtjs/auth-next": "^5.0.0-1624817847.21691f1"
Task:
Enable autorefresh token when access token is expired.
Scheme:
When access token is expired i haven't autorefresh and redirected to authorization page.
Also i tried manually request
refreshTokens()
method,handleRefresh()
method. When i got new pair tokens, but when is first expiration time is gone - i unauthorized and redirected on login page. How can i manually change expiration date on tokens. I've triedsetToken
andsetUserToken
, andToken.sync
, but it didnt work, when themaxAge
innuxt.config.js
is expired - i lost connection.What do i do wrong. It seems to be working on auto mode via documentation, but not
Beta Was this translation helpful? Give feedback.
All reactions