amazon-cognito-identity-dart
amazon-cognito-identity-dart copied to clipboard
How to handle New Password challenge?
Hi,
The Use Case 4 says that when Authenticating and a CognitoUserNewPasswordRequiredException is thrown, handle the new password challenge. Looking through cognito_user.dart I can't see a way of doing that. Am I missing something?
Thanks.
@pbaker5 did you find any solution for that, I have the same issue
@pbaker5 did you find any solution for that, I have the same issue
Nope.
I have a pr up for this flow. You can pull down my changes and try them out: https://github.com/jonsaw/amazon-cognito-identity-dart/pull/22
Note that I'm not sure @jonsaw has had a chance to review the changes yet. But, they worked for me in my very localized testing. Let me know if you run into any issues. :)
thanks for the info, I tried to reference your fork in my pubspec.yaml with the following:
amazon_cognito_identity_dart:
git:
url: https://github.com/ncb000gt/amazon-cognito-identity-dart.git
ref: master
but this still gets the original package, do you know how to fix that or what is there a better way to handle that?
@demsey2 Try the branch new_password_required_challenge
.
Hi! Any news on this? We need it as well... Thanks!
@tigrenok00 Hopefully you're able to use the branch I noted above - I can't promise commit parity with this project as I update it as needed, but it will get you the feature you're looking for.