'AWS Boto3 cognito clien Id_Token does not contain nonce value (oauth2)
I'm trying to authenticate to cognito with boto3 on a python lambda. using the following:
resp = client.admin_initiate_auth(
UserPoolId=user_pool_id,
ClientId=app_client_id,
AuthFlow='ADMIN_USER_PASSWORD_AUTH',
AuthParameters={
"USERNAME": username,
"PASSWORD": password
},
)
however, it doesn't return the "nonce" value neither the "at_hash".
We have a web application that works fine when authenticating to the same user_pool and client_id.
What am I missing for making boto3 have the same response?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
