You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that Axios doesn't set the Authorization header in the requests after login. I worked around this issue by using the setToken helper in the client side, but this doesn't help with the requests made on the server side. How can I solve this issue?
I didn't have this issue with local strategy. I also tried setting credentials: true in the axios configuration but it didn't help.
The text was updated successfully, but these errors were encountered:
Hi. I have a NuxtJS project that is running on SSR mode and the auth module configuration is like this:
The problem is that Axios doesn't set the Authorization header in the requests after login. I worked around this issue by using the setToken helper in the client side, but this doesn't help with the requests made on the server side. How can I solve this issue?
I didn't have this issue with local strategy. I also tried setting
credentials: true
in the axios configuration but it didn't help.The text was updated successfully, but these errors were encountered: