Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to merge signup accounts, account created by gmail and accoount created by email with otp #14075

Open
atindraojha opened this issue Dec 12, 2024 · 4 comments
Assignees
Labels
Auth Related to Auth components/category Next.js question General question

Comments

@atindraojha
Copy link

i am writing to find solution regarding the title,
i am using the nextjs amplifu gen2 app project and want solution to merge accounts in a single entry,
when user created by email by otp and after some time he want to login by gmail (social signup) then how we merge it in single entry in cognito

@github-actions github-actions bot added pending-triage Issue is pending triage pending-maintainer-response Issue is pending a response from the Amplify team. labels Dec 12, 2024
@Equartey
Copy link

@atindraojha, I'm forwarding this issue to the Amplify JS team for better support.

@Equartey Equartey transferred this issue from aws-amplify/amplify-flutter Dec 12, 2024
@Equartey Equartey removed pending-triage Issue is pending triage pending-maintainer-response Issue is pending a response from the Amplify team. labels Dec 12, 2024
@cwomack cwomack self-assigned this Dec 12, 2024
@cwomack cwomack added Auth Related to Auth components/category Next.js question General question labels Dec 12, 2024
@cwomack
Copy link
Member

cwomack commented Dec 12, 2024

Hello, @atindraojha 👋. It sounds like you're needing to use the AdminLinkProviderForUser API within Cognito to recognize a user's unique ID in your federated directory as a user in the user pool. You can reference these docs for more information on that admin API as well as this guide.

Let me know if that helps clear things up!

@cwomack cwomack added the pending-community-response Issue is pending a response from the author or community. label Dec 12, 2024
@tankvishal324
Copy link

tankvishal324 commented Dec 13, 2024

I am facing the same issue. I am using Amplify Authenticator for sign-up with both an external provider (Google) and email. How can I merge both sign-ups into a single user?

I am signing up using Google with the email like vishal@yopmail.com, and also signing up with the same email via the email sign-up method. However, Cognito creates two separate users. I want to combine them into one user.

@github-actions github-actions bot added pending-maintainer-response Issue is pending a response from the Amplify team. and removed pending-community-response Issue is pending a response from the author or community. labels Dec 13, 2024
@pranavosu
Copy link
Member

@tankvishal324 have you tried what @cwomack suggested above?

@github-actions github-actions bot removed the pending-maintainer-response Issue is pending a response from the Amplify team. label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auth Related to Auth components/category Next.js question General question
Projects
None yet
Development

No branches or pull requests

5 participants