Linking Federated Users to an Existing Account in AWS Congito Using AWS CDK

Utkarsha Bakshi
3 min readMay 29, 2023

There are scenarios where a user exists in your system (here AWS Cognito user pool) and then goes ahead and uses a Federated login provider such as Google or Facebook using the same email address. Instead of creating a new user account in the user pool, linking the existing user account with the federated identity provider is possible.

--

--