Nuxt auth does not seem to use refresh token correctly when dealing with an Elixir backend #1539
Unanswered
ivan-rivera
asked this question in
Support Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Phoenix backend and my authentication is handled by Pow. To make sure that everything is working correctly, I configured my token to expire in 15 seconds and I successfully tested it manually. When I log in with my Nuxt client, I get logged out after 15 seconds. Interestingly, I can see a token renewal call being made just before I get logged out. Either way, the renewal part does not seem to be working correctly and the problem seems to be on the frontend. I have the following configs in my
nuxt.config.js
Can anyone help me work out what could be wrong here?
Many thanks :)
Beta Was this translation helpful? Give feedback.
All reactions