Handle FORCE_CHANGE_PASSWORD without delegate for AWSCognitoIdentityUser #1038
Labels
cognito
Issues related to AWS Cognito
pending-response
Issue is pending response from the issue requestor
question
General question
Iv'e created a custom AWSIdentityProviderManager to provide login maps from either Google or user pool. Because i need to support login trough both Im not using the AWSCognitoIdentityInteractiveAuthenticationDelegate as its tightly coupled with user pool sign in flow. However i have basically copied the behaviour with a custom generic "sign in controller" that signs in user pool users explicitly through getSession(***, password: **.... But now when i've moved to our live pool users are created in the console with FORCE_CHANGE_PASSWORD and i've encountered a problem.
Expected behaviour on "pool sign in": error message that user. needs to change password. handle navigation and changePassword(" ", proposedPassword: " ") myself explicitly.
What i get on pool sign in: "startNewPasswordRequired not implemented by authentication delegate" on change password: Authentication delegate not set
Do i need to implement the delegate? I don't see how that would work when supporting google in the same login controller that is pushed on the ui, as the completion for that delegate is built around supplying a username and password.
The text was updated successfully, but these errors were encountered: