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
As far as I see nuxt/auth only supports SPA mode with cookies, is this correct?
Thanks in advance!
(The challenge in regards to SPA cookie mode is the following:
In order to authenticate, your SPA and API must share the same top-level domain. However, they may be placed on different subdomains. Additionally, you should ensure that you send the Accept: application/json header with your request.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, just a quick question, just starting out with nuxt/auth.
I read https://auth.nuxtjs.org/providers/laravel-sanctum and went through the source code
https://github.com/nuxt-community/auth-module/blob/dev/src/providers/laravel-sanctum.ts .
Laravel Sanctum has two modes:
As far as I see nuxt/auth only supports SPA mode with cookies, is this correct?
Thanks in advance!
(The challenge in regards to SPA cookie mode is the following:
)
Beta Was this translation helpful? Give feedback.
All reactions