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

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:

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.

Hi @fatehmm,

Welcome to the Auth0 Community!

This can be accomplished by calling the Management API’s Update a user endpoint.

I recommend checking out our Get Management API Access 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

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