Refresh token on SSR not working. #1552
Replies: 4 comments
-
UPDATE: Hi, I was able to make it work using refresh scheme but still encountered another error. Is there a way to include the expired token in the request? Thank you. |
Beta Was this translation helpful? Give feedback.
-
@bnjtgly Ive got a similar issue, I'm using the Laravel JWT scheme to refresh tokens but in my network I keep seeing about 7 hits to my refresh endpoint in quick succession, the first succeeds, then the other fail and the app logs me out, don't know why. Linked issue |
Beta Was this translation helpful? Give feedback.
-
i'm having the same problem. |
Beta Was this translation helpful? Give feedback.
-
I was able to make it work. Here's my nuxt.config.js. I fixed it by adding a refreshToken in my
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, does anyone knows how to make refresh token work? I'm using an API. Here's my nuxt.config.js. Everytime I added the refresh scheme my login stops working. Thank you so much.
login.vue
await this.$auth.loginWith('local', { data: { user: this.credentials } })
Beta Was this translation helpful? Give feedback.
All reactions