-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Updating mutable user attributes #18
Comments
We don't have this yet. In our backlog. We'll keep you posted. |
@ChrisButterworth , I ran into this issue too and used something similar to this as a temporary work around.
Edit: formatting |
Was this added recently? I'm also trying to update user attributes from my mobile react-native app. Thanks! |
@asharafshahi it's in PR right now and should be in the next release! |
If I'm using aws-amplify-react-native will the next release address this for me as well? |
Thanks Amplify devs and @mlabieniec for getting the new release out! Looks like a lot of improvements. Sorry in advance if this should be obvious to me, but I looked through the docs to see what the new way to update user attributes is and I couldn't find it. A pointer would be much appreciated! thx |
@asharafshahi I think that's what you are looking for https://github.com/aws/aws-amplify/blob/master/docs/media/authentication_guide.md#user-attributes UPD: I believe there is a typo in the docs it says let result = await Auth.updateUserAttributes({
'email': 'me@anotherdomain.com',
'last_name': 'Lastname'
}); but from the source I see that |
You are right, the docs definitely have a typo. I tried the method as stated in the docs and it throws an error. When I call Auth.currentAuthenticatedUser and pass the result in as the first argument all goes well. |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Is there a way to update a way to update user attributes using this library?
Checked the documentation but doesn't mention anything about updating user attributes.
The text was updated successfully, but these errors were encountered: