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
Update user metadata - Netlify Identity #44
Comments
|
You can update the user metadata client side. App metadata has to be updated from a secure environment like a lambda function. See https://github.com/futuregerald/identity-test-functions for an example. |
|
The API documentation is incomplete. To successfully write user metadata, submit a request with the |
|
^ Agreed, the docs are total trash. |
|
So I figured out how to do this with some trial and error and of course no help from the docs. For context, I'm adding a full_name field to the meta data. I'm assuming you have a basic grasp of consts and JSON but please reach out if you need a more detailed example that actually works with a form. First, pass the email and password values into the the signup function, then add your user_metadata object: |
Hi Guys,
Im trying to give my users the ability to update there meta data such as full name and phone number, it is possible to create the meta data using
signupaction but update them is not possible, i can only update the password and the email, is that an expected behavior or am i doing something wrong ? Hope someone can help 🤓The text was updated successfully, but these errors were encountered: