Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to user_metadata #78

Open
samullman opened this issue May 13, 2020 · 1 comment
Open

Access to user_metadata #78

samullman opened this issue May 13, 2020 · 1 comment

Comments

@samullman
Copy link

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>

@abelchua
Copy link

You'll have to write a rule for that.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants