Got error while using amazon cognito with Auth0