FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Allow user to change personal data (firstname etc.)

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    3
    3
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      egli
      last edited by

      Hi

      How can we let a user access an edit page to change data like

      user.firstName etc.

      BR

      mark.robustelliM A 2 Replies Last reply Reply Quote 0
      • mark.robustelliM
        mark.robustelli @egli
        last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • A
          akoskm @egli
          last edited by

          @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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post