useAuth icon indicating copy to clipboard operation
useAuth copied to clipboard

Access to user_metadata

Open samullman opened this issue 5 years ago • 1 comments

This may be more of a question, but I am hoping to access the meta data of the user by overriding the auth0_params and wondering if this is how to get access to meta data through the useAuth config


    <AuthProvider
        navigate={navigate}
        auth0_domain="xxxxx"
        auth0_client_id="xxxxx"
        auth0_params={{ scope: "openid profile email user_metadata"}}
    >
        {element}
    </AuthProvider>

samullman avatar May 13 '20 23:05 samullman

You'll have to write a rule for that.

https://auth0.com/docs/manage-users/user-accounts/metadata/manage-metadata-rules

abelchua avatar Feb 17 '22 06:02 abelchua