1 Answer
- Newest
- Most votes
- Most comments
0
Worth to take a look at this:
AWS provides the AdminLinkProviderForUser API for linking external IdPs to Cognito users, and best practice is to require explicit user consent and re authentication before linking. Automatic linking in PreSignUp is discouraged because it can introduce security risks:
https://repost.aws/knowledge-center/cognito-external-federation-linking
