Help setting up next-auth

Im new to T3, just started my first project and im trying to setup google as an auth provider, I have registered an app with google and added the correct domain and redirect uri to it.
I also added the google provider credentials to the T3 app and the env vars to the env.js file.
I already deployed the app to vercel, so I added that domain to google and discord.
When I try to sign in it displays my google accounts and takes me to the discord authorization screen, but when I choose an account or click Authorize it just returns to the sign in page and says: Try using a different acount.
I tried to look for tutorials but they're old and outdated, it seems like things have changed in the stack since those were filmed.

Any help would be appreciated. Thanks!
Was this page helpful?