Module: react-auth0
React login component for use with Auth0.
Functions
ConvexProviderWithAuth0
▸ ConvexProviderWithAuth0(«destructured»
): Element
A wrapper React component which provides a ConvexReactClient authenticated with Auth0.
It must be wrapped by a configured Auth0Provider
from @auth0/auth0-react
.
See Convex Auth0 on how to set up Convex with Auth0.
Parameters
Name | Type |
---|---|
«destructured» | Object |
› children | ReactNode |
› client | IConvexReactClient |
Returns
Element