Allow user to change personal data (firstname etc.)
-
Hi
How can we let a user access an edit page to change data like
user.firstName etc.
BR
-
@egli FusionAuth provides a feature called Self Service Registration Forms that allows users to update most of their own data from a hosted page. This includes updating passwords and other user data fields. However, this feature is only available in paid plans. Please check out https://fusionauth.io/docs/lifecycle/manage-users/account-management/updating-user-data
-
@egli If you're using TypeScript/JavaScript you can implement a simple page with inputs and call
const newUserFields = { firstName: form.firstName, lastName: form.lastName, }; await fusionAuthClient.patchUser(user.id, { user: newUserFields, });
or use the Update user REST API to pass
firstName
and other fields.