Auth0 Home Blog Docs

Auth0 SDK - Sending user metadata during social signup through authorize?


#1

Hi,

  • Which SDK does this apply to? auth0-js
  • Which verison of the SDK you are using? 9.7.3
  • Which version of the platform are you facing this error on? React 16.4.1

This question doesn’t really pertain to an error that I’m facing but rather a feature that I feel should exist. I know it’s possible to send user metadata through the signup call using username and password. However I was wondering if there is a way to send extra information about the user through the authorize call when using a social connection.

Here is an example of something that I would like to accomplish.

this.webAuth.authorize({
        connection: "facebook",
        user_metadata: {
            zip: "",
            phone: ""
        }
    }, (authErr, authResult) => {

        console.log(authErr);
    })

Best Regards,

David