- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hello Renato,
Thank you for chatting in.
Over the chat we discussed that you were seeing this error when calling Auth.SignIn from your project : USER_SRP_AUTH is not enabled for the client. This error occurs when the App Client does not have USER_SRP_AUTH enabled. Cognito supports a set of authentication flows for logging the user in and Amplify internally uses USER_SRP_AUTH. Therefore, when using the sign-in API call of Amplify, it is required to enable this for the app client. This can be done using Cognito user pool console --> App Client --> Show Details --> Check the box against USER_SRP_AUTH and save it. We tested it out and it worked fine. You can read more about the auth flows from here - [1]
[1] https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html#amazon-cognito-user-pools-custom-authentication-flow
[2] https://aws-amplify.github.io/docs/js/authentication#manual-setup
[3] https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html
Contenus pertinents
- demandé il y a un an
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 4 mois
Hi @renatospaka have you get any solution for this ?