# Updating user information such as address, firstname, lastname etc in Vue.js

**URL:** <https://community.auth0.com/t/updating-user-information-such-as-address-firstname-lastname-etc-in-vue-js/100744>\
**Category:** Get Help\
**Tags:** user-profile, user-management\
**Created:** [February 17, 2023, 12:48pm UTC](https://community.auth0.com/t/updating-user-information-such-as-address-firstname-lastname-etc-in-vue-js/100744 "2023-02-17T12:48:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fatehmm](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fatehmm/32/44729_2.png) [@fatehmm](https://community.auth0.com/u/fatehmm)\
**Post date:** [February 17, 2023, 12:48pm UTC](https://community.auth0.com/t/updating-user-information-such-as-address-firstname-lastname-etc-in-vue-js/100744/1 "2023-02-17T12:48:30Z")

</div>

I want to update user info in Vue.js app using Auth0 SPA Authentication. How can I do that? I have this on my `main.js` file:

```auto
app.use(
    createAuth0({
        domain: process.env.VUE_APP_AUTH0_DOMAIN,
        clientId: process.env.VUE_APP_AUTH0_CLIENT_ID,
        authorizationParams: {
          audience: process.env.VUE_APP_AUTH0_AUDIENCE,
          redirect_uri: "my-redirect-uri"
        },
        
      })
  );

```

It returns $auth0 object that has properties and methods but I cannot update user info. Help needed.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [February 17, 2023, 5:22pm UTC](https://community.auth0.com/t/updating-user-information-such-as-address-firstname-lastname-etc-in-vue-js/100744/3 "2023-02-17T17:22:43Z")

</div>

Hi @fatehmm,

Welcome to the Auth0 Community!

> [@fatehmm](#):
>
> I want to update user info in Vue.js app using Auth0 SPA Authentication. How can I do that?

This can be accomplished by calling the [Management API’s Update a user endpoint](https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id).

I recommend checking out our [Get Management API Access Tokens for Single-Page Applications](https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-tokens-for-single-page-applications) documentation for more instructions.

Please let me know if you have any further questions or need extra clarity on how to do this.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 3, 2023, 5:23pm UTC](https://community.auth0.com/t/updating-user-information-such-as-address-firstname-lastname-etc-in-vue-js/100744/4 "2023-03-03T17:23:35Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
