OptionalanonymousInitial anonymous session data to populate the SWR cache. Prevents loading flash when anonymous session is fetched server-side. Optional; if omitted, SWR fetches normally.
OptionalanonymousCustom route for the anonymous session endpoint. If not specified, falls back to the NEXT_PUBLIC_ANONYMOUS_SESSION_ROUTE environment variable or "/auth/anonymous-session".
Child components to render within the provider.
OptionalprofileCustom 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".
OptionaluserInitial user data to populate the SWR cache for the profile endpoint.
Props for the Auth0Provider component. Adds anonymousSession prop for seeding SWR cache (SSR fallback, no loading flash).