@auth0/nextjs-auth0 - v4.21.0
    Preparing search index...

    Type Alias Auth0ProviderProps

    Props for the Auth0Provider component.

    type Auth0ProviderProps = {
        children: React.ReactNode;
        profileRoute?: string;
        user?: User;
    }
    Index

    Properties

    children: React.ReactNode

    Child components to render within the provider.

    profileRoute?: string

    Custom route for the profile endpoint. Useful for multi-tenant applications where different tenants require different route configurations. If not specified, falls back to the NEXT_PUBLIC_PROFILE_ROUTE environment variable or "/auth/profile".

    '/tenant-a/auth/profile'
    
    user?: User

    Initial user data to populate the SWR cache.