Next.js Discord

Discord Forum

Adding multiple providers to one user NextAuthJs

Unanswered
Jumbo flying squid posted this in #help-forum
Open in Discord
Jumbo flying squidOP
Hey guys I'm curious how folks implement the following. We use next auth js to auth users via a set of providers. On top of this, we would like to allow them to link their account to other providers. Specifically so we can pull account info from the respective provider apis. Can this be accomplished through next auth?

9 Replies

Jumbo flying squidOP
Reading through auth0 docs, it does seem to support it...just not sure how to implement it through next auth
Jumbo flying squidOP
bump
See optional allowDangerousEmailAccountLinking: boolean;
Jumbo flying squidOP
yep so ive seen this but I'm not sure thats really what I'm trying to accomplish.
There should be only one primary login with the option to link additional accounts
spots like supabase support that and auth0 explictilly call that out
Jumbo flying squidOP
bumping this!