Skip to main content

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

NameType
«destructured»Object
› childrenReactNode
› clientIConvexReactClient

Returns

Element

Defined in

react-auth0/ConvexProviderWithAuth0.tsx:26