You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to have a two step sign-up. First the user should enter it's E-Mail. If the E-Mail is already known, the user should be asked for his password. If the user is unknown, it should show the password and password_confirmation field. Is this possible?
The only way I found is to use a wrong password and then catch the error:
userPool.signUp('[email protected]', 'veryunlikelypassword');
-----
ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: CognitoClientException{statusCode: 400, code: UsernameExistsException, name: UsernameExistsException, message: An account with the given email already exists.
But this doesn't seem right. Is there an alternative?
EDIT: Stupid from my side. That would register the user with that password 🤦♂️
The text was updated successfully, but these errors were encountered:
I would like to have a two step sign-up. First the user should enter it's E-Mail. If the E-Mail is already known, the user should be asked for his password. If the user is unknown, it should show the password and password_confirmation field. Is this possible?
The only way I found is to use a wrong password and then catch the error:
But this doesn't seem right. Is there an alternative?
EDIT: Stupid from my side. That would register the user with that password 🤦♂️
The text was updated successfully, but these errors were encountered: