Replies: 1 comment 1 reply
-
I am facing something similar at the moment. NextAuth doesn't support automatically linking, instead the user needs to be logged in before selecting the oauth I would probably do something like so:
After they click the button:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
I have
OneLogin
setup and working fine and uses MongoDB as database. But the problem is, I have some existing Users(from my previous PHP application) which I will add(import) to this database. But I want to automatically link when the actual User(that I imported) logins via OneLogin to my app for the first time.Am I stuck with this linking part. Any thoughts?
email
would be the field that would act as the bridge. I mean for the imported Users with the actual User logging in.How to reproduce ☕️
..
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions