flask-aws-cognito Boto3 and Flask code to authenticate users with AWS Cognito user pool Reference documentation towards implementation Authentication with a User Pool https://docs.aws.amazon.com/cognito/latest/developerguide/authentication.html Authentication flows explained https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html App Clients and Cognito Tokens explained https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-client-apps.html Generate the secret hash using the username, client ID, and client secret. https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#cognito-user-pools-computing-secret-hash