Skip to content

Expose the auth0Client statically #37

@maraisr

Description

@maraisr

Describe the problem you'd like to have solved

Right now the Provider requires all the Auth0Options defined as props. Which is fine. But ideally Id like to just give it a client potentially.

My use case is when you want React to know about auth things, but also things outside of react. Ie we use Relay, and its fetch method lives outside react, so there is no ability for me to get that accessToken without also having access to the client.

Describe the ideal solution

Being able to provide it with a client, rather than the options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions