next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

OAuthAccountNotLinked Error on Subsequent Google Sign-Ins [Drizzle ORM]

Open 4rch1m3d35 opened this issue 1 month ago • 0 comments

Adapter type

@auth/drizzle-adapter

Environment

[email protected] [email protected] [email protected]

Reproduction URL

https://github.com/wpcodevo/nextauth-nextjs14-drizzle/tree/main

Describe the issue

I have the same issue with OAuthAccountNotLinked with Google and the Drizzle Adapter(mysql2) as shown in this issue. I have tried all the solutions suggested in the thread, it's been almost a week, so I am starting a new thread just in case that issue thread is too old, I realize that all of you are probably busy with the beta currently in progress and I am just making sure that the issue is seen. #10062 I went from next-auth 4 directly to beta.19 and the user was not made in next-auth 4

How to reproduce

I used authjs to sign into Google, signed out and I got the error when I attempted to sign back in.

Expected behavior

Authjs should just let me log in without spitting out an error.

4rch1m3d35 avatar Jun 25 '24 20:06 4rch1m3d35