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

[Feedback] Add example or template for a Lambda Trigger to link existing users #2758

Open
bjoerndotsol opened this issue Dec 9, 2020 · 1 comment
Assignees
Labels
amplify/cli Issues tied to CLI feature-request Request a new feature guides p4 guide needed/net new info

Comments

@bjoerndotsol
Copy link

Page: /cli/usage/lambda-triggers

Feedback:
Hi,
I have several sign in methods (Google, Apple, Email + Password) and would like to link user accounts to ensure that a user is not created twice.

From the documentation and various github issues, I understood, that you should use a pre-signup trigger to handle these kind of situations but I could not find any template or best practice from AWS even though this seems to me like a pretty standard use case.

Therefore I would appreciate if you could add something related to your documentation.

So far, I found the following resources that I considered as helpful:

By the way, Firebase has this already in its documentation:
https://firebase.flutter.dev/docs/auth/usage/#linking-user-accounts

Thanks,
Bjoern :)

@bjoerndotsol bjoerndotsol changed the title [Feedback] Trigger for linking users [Feedback] Add example or template for a Lambda Trigger to link existing users Dec 9, 2020
@palpatim palpatim added feature-request Request a new feature amplify/cli Issues tied to CLI labels Dec 11, 2020
@sachscode sachscode self-assigned this Jun 4, 2021
@siegerts siegerts self-assigned this Jun 10, 2021
@siegerts
Copy link
Contributor

Chatted with @sachscode offline and he raised good points that this needs standardized across sections.

Currently, there are external guides that are relied on for most of these questions - we need to 1) roll these into the docs, or 2) standardize and develop content around the "How to" of this.

ref: https://dev.to/dabit3/the-complete-guide-to-user-authentication-with-the-amplify-framework-2inh

/cc @aws-amplify/amplify-sa

@mauerbac mauerbac added the p4 guide needed/net new info label May 9, 2022
@josefaidt josefaidt assigned josefaidt and unassigned siegerts May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amplify/cli Issues tied to CLI feature-request Request a new feature guides p4 guide needed/net new info
Projects
None yet
Development

No branches or pull requests

6 participants