useAuth
useAuth copied to clipboard
Access to user_metadata
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>
You'll have to write a rule for that.
https://auth0.com/docs/manage-users/user-accounts/metadata/manage-metadata-rules