Skip to content

Include user and metadata in user objectΒ #110

@alex-zwingli

Description

@alex-zwingli

Overview
I'd like the ability to access user_metadata and app_metadata in the user object.

Details
When accessing the user object as shown below, I'm only able to access email, email_verified, name, nickname, picture, sub, and updated_at.

const { user } = useAuth0();

However, I'd also like the ability to access user_metadata and app_metadata so that I don't have to make separate calls and figure out how to store it securely. (I run a subscription site and want the ability to check subscription status within the user object, which is updated via an API in response to subscription events.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions