

There are more AWS SDK examples available in the [AWS Doc SDK Examples](https://github.com/awsdocs/aws-doc-sdk-examples) GitHub repo.

# Use Amazon Cognito identity pools and authentication flows
<a name="cognito-identity-provider_example_cross_CognitoFlows_section"></a>

The following code example shows how to create a web-based demo application that demonstrates identity pools authentication flows.

------
#### [ Python ]

**SDK for Python (Boto3)**  
 Shows web-based demo application that demonstrates Amazon Cognito identity pools authentication flows, allowing users to interactively explore both enhanced and basic authentication flows with various identity providers.   
For complete source code and instructions on how to set up and run, see the full example on [ GitHub](https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/python/example_code/cognito/scenarios/identity_pools_example_demo).  

**Services used in this example**
+ Amazon Cognito Identity Provider

------