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

    Type Alias UseUserOptions

    Options for the useUser hook.

    type UseUserOptions = {
        route?: string;
    }
    Index

    Properties

    Properties

    route?: 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'