Open alimozdemir opened 2 months ago
Hi @alimozdemir 👋
We have resolved #883 since then. Has this issue been resolved?
Hi @zoey-kaiser unfortunately, it still exist, its just evolved to something else. I shared the error message in the previous issue. I will share more details once I have time this week
Hi @zoey-kaiser I was going to raise another issue for it but it looks like it has already been raised, #922
Still can't use the callback, I will investigate it in my project as well
Environment
Darwin
v20.11.1
3.12.4
3.13.0
2.9.7
pnpm@8.15.4
-
modules
,extends
,future
,css
,app
,runtimeConfig
,auth
,compatibilityDate
@nuxtjs/tailwindcss@6.12.1
,@nuxt/fonts@0.7.2
,@vueuse/nuxt@10.11.1
,@sidebase/nuxt-auth@0.8.2
-
Reproduction
It is hard to reproduce this error without sharing the secrets.
Describe the bug
nuxt config
When I remove custom pages and use the pages from the package, the callback url is working ok and redirects me to the intended page.
I think it might be somehow related to #857
Additional context
When I set custom pages it attaches callbackUrl to the query string but built-in pages do not add callbackUrl to the query string. e.g.
http://localhost:3000/auth/signIn?callbackUrl=http://localhost:3000/my-protected-data
http://localhost:3000/api/auth/signin
It might be related to #883, since that body (URLSearchParams) also contains callbackUrl
Logs
No response