Closed PokeJofeJr4th closed 1 month ago
User facing error:
Issue Caused by Next-Auth version bump. Older versions used this in the Account database
Next-Auth does not allow 2 providers of the same email address. Next-Auth updated provider from google.com to google. The image above breaks oAuth.
This is the current version of the Google Auth in next-auth: https://github.com/nextauthjs/next-auth/blob/e67a1eb961f232eb55a8ef7cf6be783b97bd4187/packages/next-auth/src/providers/google.ts
To fix, delete all entries in the Account database table, and re-seed the data.
package-lock.json was committed to prevent inadvertent version bumps, seed data was also updated to match new version
.gitignore