Skip to content

Cognito Identity  >  Structures  >  CognitoIdentityProvider

CognitoIdentityProvider

Structure Class

CognitoIdentityProvider dataclass

A provider representing an Amazon Cognito user pool and its client ID.

Attributes

client_id class-attribute instance-attribute
client_id: str | None = None

The client ID for the Amazon Cognito user pool.

provider_name class-attribute instance-attribute
provider_name: str | None = 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 class-attribute instance-attribute
server_side_token_check: bool | None = 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.