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

    Type Alias WithPageAuthRequiredAppRouterOptions

    Specify the URL to returnTo - this is important in app router pages because the server component won't know the URL of the page.

    type WithPageAuthRequiredAppRouterOptions = {
        returnTo?:
            | string
            | ((obj: AppRouterPageRouteOpts) => Promise<string> | string);
    }
    Index

    Properties

    Properties

    returnTo?: string | ((obj: AppRouterPageRouteOpts) => Promise<string> | string)