auth-module icon indicating copy to clipboard operation
auth-module copied to clipboard

Cant set Refresh Token

Open Soel30 opened this issue 2 years ago • 3 comments

why can't i set refresh token? I get response undefined from set() this.$auth.strategy.refreshToken.set()

and this my nuxt.config

image

Soel30 avatar Feb 04 '22 17:02 Soel30

In which Version?

Intevel avatar Feb 05 '22 20:02 Intevel

In which Version?

latest version

Soel30 avatar Feb 08 '22 11:02 Soel30

why can't i set refresh token? I get response undefined from set() this.$auth.strategy.refreshToken.set()

and this my nuxt.config

image

It seems to me that you haven't configured auth properly for refresh tokens. Check this out. You need to set the scheme to refresh, define a refresh endpoint and configure the refreshToken itself. Hope this helps.

sadeghi-aa avatar Sep 13 '22 04:09 sadeghi-aa