Login to follow
AWS Cognito Identity JS Client

AWS Cognito Identity JS Client (ODC)

Stable version 1.1.0 (Compatible with ODC)
Uploaded on 02 January 2025 by Stefan Weber
AWS Cognito Identity JS Client

AWS Cognito Identity JS Client (ODC)

Documentation
1.1.0

This is a client side integration with the GetId and GetCredentialsForIdentity actions of AWS Cognito Identity Pools to exchange a federated identiy for AWS credentials.


This library contains two client side actions


GetId

Generates (or retrieves) IdentityID. Supplying multiple logins will create an implicit linked account.

Documentation here GetId - Amazon Cognito Federated Identities


GetCredentialsForIdentity

Returns credentials for the provided identity ID. Any provided logins will be validated against supported login providers. If the token is for cognito-identity.amazonaws.com, it will be passed through to AWS Security Token Service with the appropriate role for the token.

Documentation here GetCredentialsForIdentity - Amazon Cognito Federated Identities