auth0 / auth0-react

Auth0 SDK for React Single Page Applications (SPA)
MIT License
866 stars 252 forks source link

Allow user to instanciate the auth0 client themselves and pass it to the provider #758

Closed nihauc12 closed 4 months ago

nihauc12 commented 4 months ago

Checklist

Describe the problem you'd like to have solved

I would like to have access to the javascript client (react-agnostic).

Describe the ideal solution

I would instanciate the client myself and pass it to the Auth0Provider component

Alternatives and current workarounds

Instanciate 2 clients...

Additional context

No response

frederikprijck commented 4 months ago

Closing as duplicate, see https://github.com/auth0/auth0-react/issues/737#issuecomment-1947921289.