Replies: 5 comments
-
May be to check if module nuxt-csurf or nuxt-security is installed and add that token, or remove that option completely and not to pass null. |
Beta Was this translation helpful? Give feedback.
-
It would be good to have some discussion around this or documentation on why the CSRF check is not necessary. I'm pretty sure you could spoof an origin header. |
Beta Was this translation helpful? Give feedback.
-
how exactly do we get the host? nuxt.config.ts: .env dockerfile: nothing is working |
Beta Was this translation helpful? Give feedback.
-
I've got the same issue. Tried NUXT_NEXTAUTH_URL, BASE_URL, NUXT_BASE_URL, NEXTAUTH_URL, and it always throws 500: CSRF protected |
Beta Was this translation helpful? Give feedback.
-
oh god anyone figure this out yet? |
Beta Was this translation helpful? Give feedback.
-
authjs-nuxt/packages/authjs-nuxt/src/runtime/lib/client.ts
Line 81 in 2100f25
When, I can add that path to excludedUrls option of nuxt csrf module?
Beta Was this translation helpful? Give feedback.
All reactions