mblackgeo / flask-cognito-lib

A Flask extension that supports protecting routes with AWS Cognito following OAuth 2.1 best practices
https://mblackgeo.github.io/flask-cognito-lib/
MIT License
57 stars 15 forks source link

cognito:username is not the name in Cognito #13

Closed AndersonatAMC closed 1 year ago

AndersonatAMC commented 1 year ago

When my user registers with Cognito, he provides a user name like "John", but in session I can only see cognito:username: "75b7c437-a779-4fe0-80d0-e827d2a4cb44" and "sub: "75b7c437-a779-4fe0-80d0-e827d2a4cb44"

mblackgeo commented 1 year ago

Please consult the AWS Cognito documentation for this issue