Open kjxbyz opened 1 year ago
Has there been any success in resolving this issue? I have a similar situation, when changing the default api/auth roots for example to /next/api/auth. On the prod version google provider does not work correctly
redirect_uri=.../api/auth/callback/google instead of .../next/api/auth/callback/google
Environment
Reproduction URL
https://github.com/cyf/cyf-insider
Describe the issue
In
pages router
mode, when deployed to vercel, the callbackUrl isvercel_url
, notnextauth_url
How to reproduce
Expected behavior
In
pages router
mode, when deployed to vercel, the callbackUrl isnextauth_url