amazon-archives / amazon-cognito-auth-js

The Amazon Cognito Auth SDK for JavaScript simplifies adding sign-up, sign-in with user profile functionality to web apps.
Apache License 2.0
424 stars 232 forks source link

parseCognitoWebResponse doesn't call onFailure for code flow, only for token #176

Closed manueliglesias closed 5 years ago

manueliglesias commented 5 years ago

parseCognitoWebResponse doesn't call onFailure for code, only for token

Related #21

https://github.com/aws/amazon-cognito-auth-js/blob/1ea0f1d9282201f31411ac87b8a96a244793c1f4/src/CognitoAuth.js#L265-L287