-
-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursion detected at /session #973
Comments
Same issue |
I got same Error ERROR [@sidebase/nuxt-auth] Recursion detected at /session. Have you set the correct auth.baseURL? But when I set the following config in dev mode on the nuxt,config.ts it was resolved: auth: { |
Finding the same problem. Does not work: |
Yea not ideal for production. I till have same problem reading it from the runtimeconfig. |
Just found the fix. You need to remove the slash in baseURL and if you wet the AUTH_ORIGIN, it now need to include the full path AUTH_ORIGIN=http://localhost:3000/api/auth |
Same issue. Watching. |
Environment
Reproduction
I think i don't need minimal reproduction because this problem is happening as soon as i try to including the modules for auth
Describe the bug
My problem is when i trying to use OAuth for login with google
config :
endpoint in ~/server/api/auth/[...].ts
just it is, but when i load the website again ( i don't do anything)
i think it should work well because i have the file in auth folder in ~/server/api/auth/[...].ts < use wildcard for all routes matching
do i miss something?
Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: