signIn
with provider redirecting to default sign in page instead of provider sign in page
#3766
Unanswered
alessandrojcm
asked this question in
Help
Replies: 1 comment
-
Ok so I've resorted to replacing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there, I'm having this issue when trying to redirect directly to a configured provider sign-in page; this used to work correctly in version 4.0.6, but now with version 4.1.2 it works correctly with
yarn vercel dev
but it doesn't work when deployed to Vercel.This is how I'm calling
signIn
This is the relevant NextAuth config
When deployed to Vercel, if I click the button that calls

signIn
this happens:The
NEXTAUTH_URL
is set to the custom domain the deployment was assigned to, like I said this use to work correctly on 4.0.6 and by reading the changelog I can't seem to find any changes that should've altered this behavior.Any ideas? The Next.js version is 12.0.9, and I have a simple middleware; I can post the code of that middleware if it is relevant.
EDIT: Just downgraded to 4.0.6 and it also happens, maybe there is something off with Vercel?
Beta Was this translation helpful? Give feedback.
All reactions