Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

callback.newPasswordRequired is not a function #1

Closed
hszeto opened this issue Apr 29, 2017 · 1 comment
Closed

callback.newPasswordRequired is not a function #1

hszeto opened this issue Apr 29, 2017 · 1 comment

Comments

@hszeto
Copy link

hszeto commented Apr 29, 2017

I followed this example.

https://github.com/AirLabsTeam/react-native-aws-cognito-js/blob/master/example/app.js

  1. Replaced const appConfig with my configs.
  2. Created a new Cognito User Pool and Federated Identity.
  3. Manually created an user in Cognito User Pool dashboard.
  4. Fire up my React Native app.
  5. Login.

I got this error in the console. "callback.newPasswordRequired is not a function"

How can I get around this?

Thanks

@jmparsons
Copy link
Contributor

@hszeto This is a direct port of the official Amazon Cognito Identity SDK for JavaScript.

This should help you out:

amazon-archives/amazon-cognito-identity-js#175

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants