Next-Auth: Try signing in with a different account.
So this error I am getting in the browser
Try signing in with a different account.
Try signing in with a different account.
This is very common. It usually doesn't tell me what's wrong. The first thing I do when I see this is check my environment variables. Checking if theyre correct. Which they are. I am using
create-t3-app
create-t3-app
So it also checks that for me by default. I am added a Google Provider and when I click on sign in with google, It doesn't redirect me to the correct page. It instead brings me to the
/api/auth/signin
/api/auth/signin
page with an error message.
This is also happening, it redirects me to
api/auth/signin?error=OAuthAccountNotLinked
api/auth/signin?error=OAuthAccountNotLinked
And I see this error
To confirm your identity, sign in with the same account you used originally.
To confirm your identity, sign in with the same account you used originally.