-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Twitter login with redirect proxy URL is not working #12305
Comments
+1 to this issue. |
Apple is also not working in the example app. Locally i get the following error:
|
Facing the same original issue using Zitadel and Vercel Preview deployment, it works for Production deployment. I confirmed the required environment variables, and I see the
I tracked the issue, and it seems to be
Remember, cookies can not be shared across different domains, only subdomains when allowed. |
Provider type
Twitter
Environment
Reproduction URL
https://github.com/ldemesla/next-auth
Describe the issue
The preview deployment setup is not working for Twitter. The redirect to the stable URL is working but throw the following error:
I made sure that the AUTH_SECRET and the AUTH_REDIRECT_PROXY_URL are the same in the stable environment and the preview. The application is also properly configured on Twitter side.
The error is also visible in the next-auth demo page, you sign-in with Twitter.
How to reproduce
Expected behavior
The expected behavior is that we succeed to connect to Twitter
The text was updated successfully, but these errors were encountered: