type Props = { searchParams?: Promise<{ next?: string }>; }; export default async function EntitlementRequiredPage({ searchParams }: Props) { const params = (await searchParams) || {}; const nextPath = params.next || "/"; return (

Entitlement Required

This dashboard is protected. Append{" "} ?access_token=<your-token> to the URL once, and the session cookie will be set automatically.

Requested path: {nextPath}

); }