Adding in an exception file for the NotAuthorizedException. This is thrown by Cognito when a user that exists in the user pool signs in with an invalid password. It should probably be handled in here instead of requiring a separate catch statement for a CognitoIdentityProviderException in the implementing app.
Adding in an exception file for the NotAuthorizedException. This is thrown by Cognito when a user that exists in the user pool signs in with an invalid password. It should probably be handled in here instead of requiring a separate catch statement for a CognitoIdentityProviderException in the implementing app.