Skip to content

CognitoIdentityProviderDict

Dictionary Type

CognitoIdentityProviderDict

Bases: TypedDict

Dictionary form of CognitoIdentityProvider.

Attributes

client_id instance-attribute
client_id: str | None

The client ID for the Amazon Cognito user pool.

provider_name instance-attribute
provider_name: str | None

The provider name for an Amazon Cognito user pool. For example, cognito-idp.us-east-1.amazonaws.com/us-east-1_123456789.

server_side_token_check instance-attribute
server_side_token_check: bool | None

TRUE if server-side token validation is enabled for the identity provider's token.

Once you set ServerSideTokenCheck to TRUE for an identity pool, that identity pool will check with the integrated user pools to make sure that the user has not been globally signed out or deleted before the identity pool provides an OIDC token or Amazon Web Services credentials for the user.

If the user is signed out or deleted, the identity pool will return a 400 Not Authorized error.