Open
Description
Updating email does not work anymore:
Amplify.Auth.update(userAttribute: AuthUserAttribute(.email, value: email))
All I get is an error:
AuthError: user.email: Attribute cannot be updated.
Recovery suggestion: Make sure that the parameters passed are valid
Caused by: invalidParameter
It used to work, I have not changed cognito configurations in the cloud, email is verified and confirmed.
Only thing that has changed in the client end is that I started using OTP for login instead of SRP usernam/password.
Any suggestions what could be wrong? Does the cognito allow changing email anymore?
Changing some other attribute worked...