[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-auth":3,"mdc--tecpah-key":39,"related-org-openai-auth":4310,"related-repo-openai-auth":4515},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":28,"repoUrl":29,"updatedAt":30,"license":31,"forks":32,"topics":33,"repo":34,"sourceUrl":37,"mdContent":38},"auth","integrate authentication in Next.js apps","Authentication integration guidance — Clerk (native Vercel Marketplace), Descope, and Auth0 setup for Next.js applications. Covers middleware auth patterns, sign-in\u002Fsign-up flows, and Marketplace provisioning. Use when implementing user authentication.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19,22,25],{"name":13,"slug":14,"type":15},"Clerk","clerk","tag",{"name":17,"slug":18,"type":15},"Next.js","next-js",{"name":20,"slug":21,"type":15},"Auth0","auth0",{"name":23,"slug":24,"type":15},"Authentication","authentication",{"name":26,"slug":27,"type":15},"Frontend","frontend",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-04-06T18:40:22.434557",null,465,[],{"repoUrl":29,"stars":28,"forks":32,"topics":35,"description":36},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fvercel\u002Fskills\u002Fauth","---\nname: auth\ndescription: Authentication integration guidance — Clerk (native Vercel Marketplace), Descope, and Auth0 setup for Next.js applications. Covers middleware auth patterns, sign-in\u002Fsign-up flows, and Marketplace provisioning. Use when implementing user authentication.\nmetadata:\n  priority: 6\n  docs:\n    - \"https:\u002F\u002Fauthjs.dev\u002Fgetting-started\"\n    - \"https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fapp\u002Fbuilding-your-application\u002Fauthentication\"\n  sitemap: \"https:\u002F\u002Fauthjs.dev\u002Fsitemap.xml\"\n  pathPatterns:\n    - 'middleware.ts'\n    - 'middleware.js'\n    - 'src\u002Fmiddleware.ts'\n    - 'src\u002Fmiddleware.js'\n    - 'clerk.config.*'\n    - 'app\u002Fsign-in\u002F**'\n    - 'app\u002Fsign-up\u002F**'\n    - 'src\u002Fapp\u002Fsign-in\u002F**'\n    - 'src\u002Fapp\u002Fsign-up\u002F**'\n    - 'app\u002F(auth)\u002F**'\n    - 'src\u002Fapp\u002F(auth)\u002F**'\n    - 'auth.config.*'\n    - 'auth.ts'\n    - 'auth.js'\n  bashPatterns:\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*@clerk\u002Fnextjs\\b'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@clerk\u002Fnextjs\\b'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*@clerk\u002Fnextjs\\b'\n    - '\\byarn\\s+add\\s+[^\\n]*@clerk\u002Fnextjs\\b'\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*@descope\u002Fnextjs-sdk\\b'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@descope\u002Fnextjs-sdk\\b'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*@descope\u002Fnextjs-sdk\\b'\n    - '\\byarn\\s+add\\s+[^\\n]*@descope\u002Fnextjs-sdk\\b'\n    - '\\bnpm\\s+(install|i|add)\\s+[^\\n]*@auth0\u002Fnextjs-auth0\\b'\n    - '\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@auth0\u002Fnextjs-auth0\\b'\n    - '\\bbun\\s+(install|i|add)\\s+[^\\n]*@auth0\u002Fnextjs-auth0\\b'\n    - '\\byarn\\s+add\\s+[^\\n]*@auth0\u002Fnextjs-auth0\\b'\n---\n\n# Authentication Integrations\n\nYou are an expert in authentication for Vercel-deployed applications — covering Clerk (native Vercel Marketplace integration), Descope, and Auth0.\n\n## Clerk (Recommended — Native Marketplace Integration)\n\nClerk is a native Vercel Marketplace integration with auto-provisioned environment variables and unified billing. Current SDK: `@clerk\u002Fnextjs` v7 (Core 3, March 2026).\n\n### Install via Marketplace\n\n```bash\n# Install Clerk from Vercel Marketplace (auto-provisions env vars)\nvercel integration add clerk\n```\n\nAuto-provisioned environment variables:\n- `CLERK_SECRET_KEY` — server-side API key\n- `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` — client-side publishable key\n\n### SDK Setup\n\n```bash\n# Install the Clerk Next.js SDK\nnpm install @clerk\u002Fnextjs\n```\n\n### Middleware Configuration\n\n```ts\n\u002F\u002F middleware.ts\nimport { clerkMiddleware } from \"@clerk\u002Fnextjs\u002Fserver\";\n\nexport default clerkMiddleware();\n\nexport const config = {\n  matcher: [\n    \u002F\u002F Skip Next.js internals and static files\n    \"\u002F((?!_next|[^?]*\\\\.(?:html?|css|js(?!on)|jpe?g|webp|png|gif|svg|ttf|woff2?|ico|csv|docx?|xlsx?|zip|webmanifest)).*)\",\n    \u002F\u002F Always run for API routes\n    \"\u002F(api|trpc)(.*)\",\n  ],\n};\n```\n\n### Protect Routes\n\n```ts\n\u002F\u002F middleware.ts — protect specific routes\nimport { clerkMiddleware, createRouteMatcher } from \"@clerk\u002Fnextjs\u002Fserver\";\n\nconst isProtectedRoute = createRouteMatcher([\"\u002Fdashboard(.*)\", \"\u002Fapi(.*)\"]);\n\nexport default clerkMiddleware(async (auth, req) => {\n  if (isProtectedRoute(req)) {\n    await auth.protect();\n  }\n});\n```\n\n### Frontend API Proxy (Core 3)\n\nProxy Clerk's Frontend API through your own domain to avoid third-party requests:\n\n```ts\n\u002F\u002F middleware.ts\nexport default clerkMiddleware({\n  frontendApiProxy: { enabled: true },\n});\n```\n\n### Provider Setup\n\n```tsx\n\u002F\u002F app\u002Flayout.tsx\nimport { ClerkProvider } from \"@clerk\u002Fnextjs\";\n\nexport default function RootLayout({\n  children,\n}: {\n  children: React.ReactNode;\n}) {\n  return (\n    \u003CClerkProvider>\n      \u003Chtml lang=\"en\">\n        \u003Cbody>{children}\u003C\u002Fbody>\n      \u003C\u002Fhtml>\n    \u003C\u002FClerkProvider>\n  );\n}\n```\n\n### Sign-In and Sign-Up Pages\n\n```tsx\n\u002F\u002F app\u002Fsign-in\u002F[[...sign-in]]\u002Fpage.tsx\nimport { SignIn } from \"@clerk\u002Fnextjs\";\n\nexport default function Page() {\n  return \u003CSignIn \u002F>;\n}\n```\n\n```tsx\n\u002F\u002F app\u002Fsign-up\u002F[[...sign-up]]\u002Fpage.tsx\nimport { SignUp } from \"@clerk\u002Fnextjs\";\n\nexport default function Page() {\n  return \u003CSignUp \u002F>;\n}\n```\n\nAdd routing env vars to `.env.local`:\n\n```env\nNEXT_PUBLIC_CLERK_SIGN_IN_URL=\u002Fsign-in\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=\u002Fsign-up\n```\n\n### Access User Data\n\n```tsx\n\u002F\u002F Server component\nimport { currentUser } from \"@clerk\u002Fnextjs\u002Fserver\";\n\nexport default async function Page() {\n  const user = await currentUser();\n  return \u003Cp>Hello, {user?.firstName}\u003C\u002Fp>;\n}\n```\n\n```tsx\n\u002F\u002F Client component\n\"use client\";\nimport { useUser } from \"@clerk\u002Fnextjs\";\n\nexport default function UserGreeting() {\n  const { user, isLoaded } = useUser();\n  if (!isLoaded) return null;\n  return \u003Cp>Hello, {user?.firstName}\u003C\u002Fp>;\n}\n```\n\n### API Route Protection\n\n```ts\n\u002F\u002F app\u002Fapi\u002Fprotected\u002Froute.ts\nimport { auth } from \"@clerk\u002Fnextjs\u002Fserver\";\n\nexport async function GET() {\n  const { userId } = await auth();\n  if (!userId) {\n    return Response.json({ error: \"Unauthorized\" }, { status: 401 });\n  }\n  return Response.json({ userId });\n}\n```\n\n## Descope\n\nDescope is available on the Vercel Marketplace with native integration support.\n\n### Install via Marketplace\n\n```bash\nvercel integration add descope\n```\n\n### SDK Setup\n\n```bash\nnpm install @descope\u002Fnextjs-sdk\n```\n\n### Provider and Middleware\n\n```tsx\n\u002F\u002F app\u002Flayout.tsx\nimport { AuthProvider } from \"@descope\u002Fnextjs-sdk\";\n\nexport default function RootLayout({\n  children,\n}: {\n  children: React.ReactNode;\n}) {\n  return (\n    \u003CAuthProvider projectId={process.env.NEXT_PUBLIC_DESCOPE_PROJECT_ID!}>\n      \u003Chtml lang=\"en\">\n        \u003Cbody>{children}\u003C\u002Fbody>\n      \u003C\u002Fhtml>\n    \u003C\u002FAuthProvider>\n  );\n}\n```\n\n```ts\n\u002F\u002F middleware.ts\nimport { authMiddleware } from \"@descope\u002Fnextjs-sdk\u002Fserver\";\n\nexport default authMiddleware({\n  projectId: process.env.DESCOPE_PROJECT_ID!,\n  publicRoutes: [\"\u002F\", \"\u002Fsign-in\"],\n});\n```\n\n### Sign-In Flow\n\n```tsx\n\"use client\";\nimport { Descope } from \"@descope\u002Fnextjs-sdk\";\n\nexport default function SignInPage() {\n  return \u003CDescope flowId=\"sign-up-or-in\" \u002F>;\n}\n```\n\n## Auth0\n\nAuth0 provides a mature authentication platform with extensive identity provider support.\n\n### SDK Setup\n\n```bash\nnpm install @auth0\u002Fnextjs-auth0\n```\n\n### Configuration\n\n```ts\n\u002F\u002F lib\u002Fauth0.ts\nimport { Auth0Client } from \"@auth0\u002Fnextjs-auth0\u002Fserver\";\n\nexport const auth0 = new Auth0Client();\n```\n\nRequired environment variables:\n\n```env\nAUTH0_SECRET=\u003Crandom-secret>\nAUTH0_BASE_URL=http:\u002F\u002Flocalhost:3000\nAUTH0_ISSUER_BASE_URL=https:\u002F\u002Fyour-tenant.auth0.com\nAUTH0_CLIENT_ID=\u003Cclient-id>\nAUTH0_CLIENT_SECRET=\u003Cclient-secret>\n```\n\n### Middleware\n\n```ts\n\u002F\u002F middleware.ts\nimport { auth0 } from \"@\u002Flib\u002Fauth0\";\nimport { NextRequest, NextResponse } from \"next\u002Fserver\";\n\nexport async function middleware(request: NextRequest) {\n  return await auth0.middleware(request);\n}\n\nexport const config = {\n  matcher: [\n    \"\u002F((?!_next\u002Fstatic|_next\u002Fimage|favicon.ico|sitemap.xml|robots.txt).*)\",\n  ],\n};\n```\n\n### Access Session Data\n\n```tsx\n\u002F\u002F Server component\nimport { auth0 } from \"@\u002Flib\u002Fauth0\";\n\nexport default async function Page() {\n  const session = await auth0.getSession();\n  return session ? (\n    \u003Cp>Hello, {session.user.name}\u003C\u002Fp>\n  ) : (\n    \u003Ca href=\"\u002Fauth\u002Flogin\">Log in\u003C\u002Fa>\n  );\n}\n```\n\n## Decision Matrix\n\n| Need | Recommended | Why |\n|------|------------|-----|\n| Fastest setup on Vercel | Clerk | Native Marketplace, auto-provisioned env vars |\n| Passwordless \u002F social login flows | Descope | Visual flow builder, Marketplace native |\n| Enterprise SSO \u002F SAML \u002F multi-tenant | Auth0 | Deep enterprise identity support |\n| Pre-built UI components | Clerk | Drop-in `\u003CSignIn \u002F>`, `\u003CUserButton \u002F>` |\n| Vercel unified billing | Clerk or Descope | Both are native Marketplace integrations |\n\n## Clerk Core 3 Breaking Changes (March 2026)\n\nClerk provides an upgrade CLI that scans your codebase and applies codemods: `npx @clerk\u002Fupgrade`. Requires **Node.js 20.9.0+**.\n\n- **`auth()` is async** — always use `const { userId } = await auth()`, not synchronous\n- **`auth.protect()` moved** — use `await auth.protect()` directly, not from the return value of `auth()`\n- **`clerkClient()` is async** — use `await clerkClient()` in middleware handlers\n- **`authMiddleware()` removed** — migrate to `clerkMiddleware()`\n- **`@clerk\u002Ftypes` deprecated** — import types from SDK subpath exports: `import type { UserResource } from '@clerk\u002Freact\u002Ftypes'` (works from any SDK package)\n- **`ClerkProvider` no longer forces dynamic rendering** — pass the `dynamic` prop if needed\n- **Cache components** — when using Next.js cache components, place `\u003CClerkProvider>` inside `\u003Cbody>`, not wrapping `\u003Chtml>`\n- **Satellite domains** — new `satelliteAutoSync` option skips handshake redirects when no session cookies exist\n- **Smaller bundles** — React is now shared across framework SDKs (~50KB gzipped savings)\n- **Better offline handling** — `getToken()` now correctly distinguishes signed-out from offline states\n\n## Cross-References\n\n- **Marketplace install and env var provisioning** → `⤳ skill: marketplace`\n- **Middleware routing patterns** → `⤳ skill: routing-middleware`\n- **Environment variable management** → `⤳ skill: env-vars`\n- **Vercel OAuth (Sign in with Vercel)** → `⤳ skill: sign-in-with-vercel`\n\n## Official Documentation\n\n- [Clerk + Vercel Marketplace](https:\u002F\u002Fclerk.com\u002Fdocs\u002Fdeployments\u002Fvercel)\n- [Clerk Next.js Quickstart](https:\u002F\u002Fclerk.com\u002Fdocs\u002Fquickstarts\u002Fnextjs)\n- [Descope Next.js SDK](https:\u002F\u002Fdocs.descope.com\u002Fgetting-started\u002Fnextjs)\n- [Auth0 Next.js SDK](https:\u002F\u002Fauth0.com\u002Fdocs\u002Fquickstart\u002Fwebapp\u002Fnextjs)\n",{"data":40,"body":75},{"name":4,"description":6,"metadata":41},{"priority":42,"docs":43,"sitemap":46,"pathPatterns":47,"bashPatterns":62},6,[44,45],"https:\u002F\u002Fauthjs.dev\u002Fgetting-started","https:\u002F\u002Fnextjs.org\u002Fdocs\u002Fapp\u002Fbuilding-your-application\u002Fauthentication","https:\u002F\u002Fauthjs.dev\u002Fsitemap.xml",[48,49,50,51,52,53,54,55,56,57,58,59,60,61],"middleware.ts","middleware.js","src\u002Fmiddleware.ts","src\u002Fmiddleware.js","clerk.config.*","app\u002Fsign-in\u002F**","app\u002Fsign-up\u002F**","src\u002Fapp\u002Fsign-in\u002F**","src\u002Fapp\u002Fsign-up\u002F**","app\u002F(auth)\u002F**","src\u002Fapp\u002F(auth)\u002F**","auth.config.*","auth.ts","auth.js",[63,64,65,66,67,68,69,70,71,72,73,74],"\\bnpm\\s+(install|i|add)\\s+[^\\n]*@clerk\u002Fnextjs\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@clerk\u002Fnextjs\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*@clerk\u002Fnextjs\\b","\\byarn\\s+add\\s+[^\\n]*@clerk\u002Fnextjs\\b","\\bnpm\\s+(install|i|add)\\s+[^\\n]*@descope\u002Fnextjs-sdk\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@descope\u002Fnextjs-sdk\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*@descope\u002Fnextjs-sdk\\b","\\byarn\\s+add\\s+[^\\n]*@descope\u002Fnextjs-sdk\\b","\\bnpm\\s+(install|i|add)\\s+[^\\n]*@auth0\u002Fnextjs-auth0\\b","\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@auth0\u002Fnextjs-auth0\\b","\\bbun\\s+(install|i|add)\\s+[^\\n]*@auth0\u002Fnextjs-auth0\\b","\\byarn\\s+add\\s+[^\\n]*@auth0\u002Fnextjs-auth0\\b",{"type":76,"children":77},"root",[78,87,93,100,114,121,170,175,202,208,241,247,503,509,801,807,812,900,906,1222,1228,1347,1463,1475,1500,1506,1700,1948,1954,2256,2262,2267,2272,2299,2304,2327,2333,2652,2847,2853,3002,3006,3011,3016,3039,3045,3145,3150,3197,3203,3489,3495,3794,3800,3933,3939,3959,4184,4190,4254,4260,4304],{"type":79,"tag":80,"props":81,"children":83},"element","h1",{"id":82},"authentication-integrations",[84],{"type":85,"value":86},"text","Authentication Integrations",{"type":79,"tag":88,"props":89,"children":90},"p",{},[91],{"type":85,"value":92},"You are an expert in authentication for Vercel-deployed applications — covering Clerk (native Vercel Marketplace integration), Descope, and Auth0.",{"type":79,"tag":94,"props":95,"children":97},"h2",{"id":96},"clerk-recommended-native-marketplace-integration",[98],{"type":85,"value":99},"Clerk (Recommended — Native Marketplace Integration)",{"type":79,"tag":88,"props":101,"children":102},{},[103,105,112],{"type":85,"value":104},"Clerk is a native Vercel Marketplace integration with auto-provisioned environment variables and unified billing. Current SDK: ",{"type":79,"tag":106,"props":107,"children":109},"code",{"className":108},[],[110],{"type":85,"value":111},"@clerk\u002Fnextjs",{"type":85,"value":113}," v7 (Core 3, March 2026).",{"type":79,"tag":115,"props":116,"children":118},"h3",{"id":117},"install-via-marketplace",[119],{"type":85,"value":120},"Install via Marketplace",{"type":79,"tag":122,"props":123,"children":128},"pre",{"className":124,"code":125,"language":126,"meta":127,"style":127},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Install Clerk from Vercel Marketplace (auto-provisions env vars)\nvercel integration add clerk\n","bash","",[129],{"type":79,"tag":106,"props":130,"children":131},{"__ignoreMap":127},[132,144],{"type":79,"tag":133,"props":134,"children":137},"span",{"class":135,"line":136},"line",1,[138],{"type":79,"tag":133,"props":139,"children":141},{"style":140},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[142],{"type":85,"value":143},"# Install Clerk from Vercel Marketplace (auto-provisions env vars)\n",{"type":79,"tag":133,"props":145,"children":147},{"class":135,"line":146},2,[148,154,160,165],{"type":79,"tag":133,"props":149,"children":151},{"style":150},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[152],{"type":85,"value":153},"vercel",{"type":79,"tag":133,"props":155,"children":157},{"style":156},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[158],{"type":85,"value":159}," integration",{"type":79,"tag":133,"props":161,"children":162},{"style":156},[163],{"type":85,"value":164}," add",{"type":79,"tag":133,"props":166,"children":167},{"style":156},[168],{"type":85,"value":169}," clerk\n",{"type":79,"tag":88,"props":171,"children":172},{},[173],{"type":85,"value":174},"Auto-provisioned environment variables:",{"type":79,"tag":176,"props":177,"children":178},"ul",{},[179,191],{"type":79,"tag":180,"props":181,"children":182},"li",{},[183,189],{"type":79,"tag":106,"props":184,"children":186},{"className":185},[],[187],{"type":85,"value":188},"CLERK_SECRET_KEY",{"type":85,"value":190}," — server-side API key",{"type":79,"tag":180,"props":192,"children":193},{},[194,200],{"type":79,"tag":106,"props":195,"children":197},{"className":196},[],[198],{"type":85,"value":199},"NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY",{"type":85,"value":201}," — client-side publishable key",{"type":79,"tag":115,"props":203,"children":205},{"id":204},"sdk-setup",[206],{"type":85,"value":207},"SDK Setup",{"type":79,"tag":122,"props":209,"children":211},{"className":124,"code":210,"language":126,"meta":127,"style":127},"# Install the Clerk Next.js SDK\nnpm install @clerk\u002Fnextjs\n",[212],{"type":79,"tag":106,"props":213,"children":214},{"__ignoreMap":127},[215,223],{"type":79,"tag":133,"props":216,"children":217},{"class":135,"line":136},[218],{"type":79,"tag":133,"props":219,"children":220},{"style":140},[221],{"type":85,"value":222},"# Install the Clerk Next.js SDK\n",{"type":79,"tag":133,"props":224,"children":225},{"class":135,"line":146},[226,231,236],{"type":79,"tag":133,"props":227,"children":228},{"style":150},[229],{"type":85,"value":230},"npm",{"type":79,"tag":133,"props":232,"children":233},{"style":156},[234],{"type":85,"value":235}," install",{"type":79,"tag":133,"props":237,"children":238},{"style":156},[239],{"type":85,"value":240}," @clerk\u002Fnextjs\n",{"type":79,"tag":115,"props":242,"children":244},{"id":243},"middleware-configuration",[245],{"type":85,"value":246},"Middleware Configuration",{"type":79,"tag":122,"props":248,"children":252},{"className":249,"code":250,"language":251,"meta":127,"style":127},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F middleware.ts\nimport { clerkMiddleware } from \"@clerk\u002Fnextjs\u002Fserver\";\n\nexport default clerkMiddleware();\n\nexport const config = {\n  matcher: [\n    \u002F\u002F Skip Next.js internals and static files\n    \"\u002F((?!_next|[^?]*\\\\.(?:html?|css|js(?!on)|jpe?g|webp|png|gif|svg|ttf|woff2?|ico|csv|docx?|xlsx?|zip|webmanifest)).*)\",\n    \u002F\u002F Always run for API routes\n    \"\u002F(api|trpc)(.*)\",\n  ],\n};\n","ts",[253],{"type":79,"tag":106,"props":254,"children":255},{"__ignoreMap":127},[256,264,315,325,353,361,389,409,418,451,460,481,494],{"type":79,"tag":133,"props":257,"children":258},{"class":135,"line":136},[259],{"type":79,"tag":133,"props":260,"children":261},{"style":140},[262],{"type":85,"value":263},"\u002F\u002F middleware.ts\n",{"type":79,"tag":133,"props":265,"children":266},{"class":135,"line":146},[267,273,279,285,290,295,300,305,310],{"type":79,"tag":133,"props":268,"children":270},{"style":269},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[271],{"type":85,"value":272},"import",{"type":79,"tag":133,"props":274,"children":276},{"style":275},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[277],{"type":85,"value":278}," {",{"type":79,"tag":133,"props":280,"children":282},{"style":281},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[283],{"type":85,"value":284}," clerkMiddleware",{"type":79,"tag":133,"props":286,"children":287},{"style":275},[288],{"type":85,"value":289}," }",{"type":79,"tag":133,"props":291,"children":292},{"style":269},[293],{"type":85,"value":294}," from",{"type":79,"tag":133,"props":296,"children":297},{"style":275},[298],{"type":85,"value":299}," \"",{"type":79,"tag":133,"props":301,"children":302},{"style":156},[303],{"type":85,"value":304},"@clerk\u002Fnextjs\u002Fserver",{"type":79,"tag":133,"props":306,"children":307},{"style":275},[308],{"type":85,"value":309},"\"",{"type":79,"tag":133,"props":311,"children":312},{"style":275},[313],{"type":85,"value":314},";\n",{"type":79,"tag":133,"props":316,"children":318},{"class":135,"line":317},3,[319],{"type":79,"tag":133,"props":320,"children":322},{"emptyLinePlaceholder":321},true,[323],{"type":85,"value":324},"\n",{"type":79,"tag":133,"props":326,"children":328},{"class":135,"line":327},4,[329,334,339,344,349],{"type":79,"tag":133,"props":330,"children":331},{"style":269},[332],{"type":85,"value":333},"export",{"type":79,"tag":133,"props":335,"children":336},{"style":269},[337],{"type":85,"value":338}," default",{"type":79,"tag":133,"props":340,"children":342},{"style":341},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[343],{"type":85,"value":284},{"type":79,"tag":133,"props":345,"children":346},{"style":281},[347],{"type":85,"value":348},"()",{"type":79,"tag":133,"props":350,"children":351},{"style":275},[352],{"type":85,"value":314},{"type":79,"tag":133,"props":354,"children":356},{"class":135,"line":355},5,[357],{"type":79,"tag":133,"props":358,"children":359},{"emptyLinePlaceholder":321},[360],{"type":85,"value":324},{"type":79,"tag":133,"props":362,"children":363},{"class":135,"line":42},[364,368,374,379,384],{"type":79,"tag":133,"props":365,"children":366},{"style":269},[367],{"type":85,"value":333},{"type":79,"tag":133,"props":369,"children":371},{"style":370},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[372],{"type":85,"value":373}," const",{"type":79,"tag":133,"props":375,"children":376},{"style":281},[377],{"type":85,"value":378}," config ",{"type":79,"tag":133,"props":380,"children":381},{"style":275},[382],{"type":85,"value":383},"=",{"type":79,"tag":133,"props":385,"children":386},{"style":275},[387],{"type":85,"value":388}," {\n",{"type":79,"tag":133,"props":390,"children":392},{"class":135,"line":391},7,[393,399,404],{"type":79,"tag":133,"props":394,"children":396},{"style":395},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[397],{"type":85,"value":398},"  matcher",{"type":79,"tag":133,"props":400,"children":401},{"style":275},[402],{"type":85,"value":403},":",{"type":79,"tag":133,"props":405,"children":406},{"style":281},[407],{"type":85,"value":408}," [\n",{"type":79,"tag":133,"props":410,"children":412},{"class":135,"line":411},8,[413],{"type":79,"tag":133,"props":414,"children":415},{"style":140},[416],{"type":85,"value":417},"    \u002F\u002F Skip Next.js internals and static files\n",{"type":79,"tag":133,"props":419,"children":421},{"class":135,"line":420},9,[422,427,432,437,442,446],{"type":79,"tag":133,"props":423,"children":424},{"style":275},[425],{"type":85,"value":426},"    \"",{"type":79,"tag":133,"props":428,"children":429},{"style":156},[430],{"type":85,"value":431},"\u002F((?!_next|[^?]*",{"type":79,"tag":133,"props":433,"children":434},{"style":281},[435],{"type":85,"value":436},"\\\\",{"type":79,"tag":133,"props":438,"children":439},{"style":156},[440],{"type":85,"value":441},".(?:html?|css|js(?!on)|jpe?g|webp|png|gif|svg|ttf|woff2?|ico|csv|docx?|xlsx?|zip|webmanifest)).*)",{"type":79,"tag":133,"props":443,"children":444},{"style":275},[445],{"type":85,"value":309},{"type":79,"tag":133,"props":447,"children":448},{"style":275},[449],{"type":85,"value":450},",\n",{"type":79,"tag":133,"props":452,"children":454},{"class":135,"line":453},10,[455],{"type":79,"tag":133,"props":456,"children":457},{"style":140},[458],{"type":85,"value":459},"    \u002F\u002F Always run for API routes\n",{"type":79,"tag":133,"props":461,"children":463},{"class":135,"line":462},11,[464,468,473,477],{"type":79,"tag":133,"props":465,"children":466},{"style":275},[467],{"type":85,"value":426},{"type":79,"tag":133,"props":469,"children":470},{"style":156},[471],{"type":85,"value":472},"\u002F(api|trpc)(.*)",{"type":79,"tag":133,"props":474,"children":475},{"style":275},[476],{"type":85,"value":309},{"type":79,"tag":133,"props":478,"children":479},{"style":275},[480],{"type":85,"value":450},{"type":79,"tag":133,"props":482,"children":484},{"class":135,"line":483},12,[485,490],{"type":79,"tag":133,"props":486,"children":487},{"style":281},[488],{"type":85,"value":489},"  ]",{"type":79,"tag":133,"props":491,"children":492},{"style":275},[493],{"type":85,"value":450},{"type":79,"tag":133,"props":495,"children":497},{"class":135,"line":496},13,[498],{"type":79,"tag":133,"props":499,"children":500},{"style":275},[501],{"type":85,"value":502},"};\n",{"type":79,"tag":115,"props":504,"children":506},{"id":505},"protect-routes",[507],{"type":85,"value":508},"Protect Routes",{"type":79,"tag":122,"props":510,"children":512},{"className":249,"code":511,"language":251,"meta":127,"style":127},"\u002F\u002F middleware.ts — protect specific routes\nimport { clerkMiddleware, createRouteMatcher } from \"@clerk\u002Fnextjs\u002Fserver\";\n\nconst isProtectedRoute = createRouteMatcher([\"\u002Fdashboard(.*)\", \"\u002Fapi(.*)\"]);\n\nexport default clerkMiddleware(async (auth, req) => {\n  if (isProtectedRoute(req)) {\n    await auth.protect();\n  }\n});\n",[513],{"type":79,"tag":106,"props":514,"children":515},{"__ignoreMap":127},[516,524,573,580,645,652,710,746,777,785],{"type":79,"tag":133,"props":517,"children":518},{"class":135,"line":136},[519],{"type":79,"tag":133,"props":520,"children":521},{"style":140},[522],{"type":85,"value":523},"\u002F\u002F middleware.ts — protect specific routes\n",{"type":79,"tag":133,"props":525,"children":526},{"class":135,"line":146},[527,531,535,539,544,549,553,557,561,565,569],{"type":79,"tag":133,"props":528,"children":529},{"style":269},[530],{"type":85,"value":272},{"type":79,"tag":133,"props":532,"children":533},{"style":275},[534],{"type":85,"value":278},{"type":79,"tag":133,"props":536,"children":537},{"style":281},[538],{"type":85,"value":284},{"type":79,"tag":133,"props":540,"children":541},{"style":275},[542],{"type":85,"value":543},",",{"type":79,"tag":133,"props":545,"children":546},{"style":281},[547],{"type":85,"value":548}," createRouteMatcher",{"type":79,"tag":133,"props":550,"children":551},{"style":275},[552],{"type":85,"value":289},{"type":79,"tag":133,"props":554,"children":555},{"style":269},[556],{"type":85,"value":294},{"type":79,"tag":133,"props":558,"children":559},{"style":275},[560],{"type":85,"value":299},{"type":79,"tag":133,"props":562,"children":563},{"style":156},[564],{"type":85,"value":304},{"type":79,"tag":133,"props":566,"children":567},{"style":275},[568],{"type":85,"value":309},{"type":79,"tag":133,"props":570,"children":571},{"style":275},[572],{"type":85,"value":314},{"type":79,"tag":133,"props":574,"children":575},{"class":135,"line":317},[576],{"type":79,"tag":133,"props":577,"children":578},{"emptyLinePlaceholder":321},[579],{"type":85,"value":324},{"type":79,"tag":133,"props":581,"children":582},{"class":135,"line":327},[583,588,593,597,601,606,610,615,619,623,627,632,636,641],{"type":79,"tag":133,"props":584,"children":585},{"style":370},[586],{"type":85,"value":587},"const",{"type":79,"tag":133,"props":589,"children":590},{"style":281},[591],{"type":85,"value":592}," isProtectedRoute ",{"type":79,"tag":133,"props":594,"children":595},{"style":275},[596],{"type":85,"value":383},{"type":79,"tag":133,"props":598,"children":599},{"style":341},[600],{"type":85,"value":548},{"type":79,"tag":133,"props":602,"children":603},{"style":281},[604],{"type":85,"value":605},"([",{"type":79,"tag":133,"props":607,"children":608},{"style":275},[609],{"type":85,"value":309},{"type":79,"tag":133,"props":611,"children":612},{"style":156},[613],{"type":85,"value":614},"\u002Fdashboard(.*)",{"type":79,"tag":133,"props":616,"children":617},{"style":275},[618],{"type":85,"value":309},{"type":79,"tag":133,"props":620,"children":621},{"style":275},[622],{"type":85,"value":543},{"type":79,"tag":133,"props":624,"children":625},{"style":275},[626],{"type":85,"value":299},{"type":79,"tag":133,"props":628,"children":629},{"style":156},[630],{"type":85,"value":631},"\u002Fapi(.*)",{"type":79,"tag":133,"props":633,"children":634},{"style":275},[635],{"type":85,"value":309},{"type":79,"tag":133,"props":637,"children":638},{"style":281},[639],{"type":85,"value":640},"])",{"type":79,"tag":133,"props":642,"children":643},{"style":275},[644],{"type":85,"value":314},{"type":79,"tag":133,"props":646,"children":647},{"class":135,"line":355},[648],{"type":79,"tag":133,"props":649,"children":650},{"emptyLinePlaceholder":321},[651],{"type":85,"value":324},{"type":79,"tag":133,"props":653,"children":654},{"class":135,"line":42},[655,659,663,667,672,677,682,687,691,696,701,706],{"type":79,"tag":133,"props":656,"children":657},{"style":269},[658],{"type":85,"value":333},{"type":79,"tag":133,"props":660,"children":661},{"style":269},[662],{"type":85,"value":338},{"type":79,"tag":133,"props":664,"children":665},{"style":341},[666],{"type":85,"value":284},{"type":79,"tag":133,"props":668,"children":669},{"style":281},[670],{"type":85,"value":671},"(",{"type":79,"tag":133,"props":673,"children":674},{"style":370},[675],{"type":85,"value":676},"async",{"type":79,"tag":133,"props":678,"children":679},{"style":275},[680],{"type":85,"value":681}," (",{"type":79,"tag":133,"props":683,"children":685},{"style":684},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[686],{"type":85,"value":4},{"type":79,"tag":133,"props":688,"children":689},{"style":275},[690],{"type":85,"value":543},{"type":79,"tag":133,"props":692,"children":693},{"style":684},[694],{"type":85,"value":695}," req",{"type":79,"tag":133,"props":697,"children":698},{"style":275},[699],{"type":85,"value":700},")",{"type":79,"tag":133,"props":702,"children":703},{"style":370},[704],{"type":85,"value":705}," =>",{"type":79,"tag":133,"props":707,"children":708},{"style":275},[709],{"type":85,"value":388},{"type":79,"tag":133,"props":711,"children":712},{"class":135,"line":391},[713,718,722,727,731,736,741],{"type":79,"tag":133,"props":714,"children":715},{"style":269},[716],{"type":85,"value":717},"  if",{"type":79,"tag":133,"props":719,"children":720},{"style":395},[721],{"type":85,"value":681},{"type":79,"tag":133,"props":723,"children":724},{"style":341},[725],{"type":85,"value":726},"isProtectedRoute",{"type":79,"tag":133,"props":728,"children":729},{"style":395},[730],{"type":85,"value":671},{"type":79,"tag":133,"props":732,"children":733},{"style":281},[734],{"type":85,"value":735},"req",{"type":79,"tag":133,"props":737,"children":738},{"style":395},[739],{"type":85,"value":740},")) ",{"type":79,"tag":133,"props":742,"children":743},{"style":275},[744],{"type":85,"value":745},"{\n",{"type":79,"tag":133,"props":747,"children":748},{"class":135,"line":411},[749,754,759,764,769,773],{"type":79,"tag":133,"props":750,"children":751},{"style":269},[752],{"type":85,"value":753},"    await",{"type":79,"tag":133,"props":755,"children":756},{"style":281},[757],{"type":85,"value":758}," auth",{"type":79,"tag":133,"props":760,"children":761},{"style":275},[762],{"type":85,"value":763},".",{"type":79,"tag":133,"props":765,"children":766},{"style":341},[767],{"type":85,"value":768},"protect",{"type":79,"tag":133,"props":770,"children":771},{"style":395},[772],{"type":85,"value":348},{"type":79,"tag":133,"props":774,"children":775},{"style":275},[776],{"type":85,"value":314},{"type":79,"tag":133,"props":778,"children":779},{"class":135,"line":420},[780],{"type":79,"tag":133,"props":781,"children":782},{"style":275},[783],{"type":85,"value":784},"  }\n",{"type":79,"tag":133,"props":786,"children":787},{"class":135,"line":453},[788,793,797],{"type":79,"tag":133,"props":789,"children":790},{"style":275},[791],{"type":85,"value":792},"}",{"type":79,"tag":133,"props":794,"children":795},{"style":281},[796],{"type":85,"value":700},{"type":79,"tag":133,"props":798,"children":799},{"style":275},[800],{"type":85,"value":314},{"type":79,"tag":115,"props":802,"children":804},{"id":803},"frontend-api-proxy-core-3",[805],{"type":85,"value":806},"Frontend API Proxy (Core 3)",{"type":79,"tag":88,"props":808,"children":809},{},[810],{"type":85,"value":811},"Proxy Clerk's Frontend API through your own domain to avoid third-party requests:",{"type":79,"tag":122,"props":813,"children":815},{"className":249,"code":814,"language":251,"meta":127,"style":127},"\u002F\u002F middleware.ts\nexport default clerkMiddleware({\n  frontendApiProxy: { enabled: true },\n});\n",[816],{"type":79,"tag":106,"props":817,"children":818},{"__ignoreMap":127},[819,826,849,885],{"type":79,"tag":133,"props":820,"children":821},{"class":135,"line":136},[822],{"type":79,"tag":133,"props":823,"children":824},{"style":140},[825],{"type":85,"value":263},{"type":79,"tag":133,"props":827,"children":828},{"class":135,"line":146},[829,833,837,841,845],{"type":79,"tag":133,"props":830,"children":831},{"style":269},[832],{"type":85,"value":333},{"type":79,"tag":133,"props":834,"children":835},{"style":269},[836],{"type":85,"value":338},{"type":79,"tag":133,"props":838,"children":839},{"style":341},[840],{"type":85,"value":284},{"type":79,"tag":133,"props":842,"children":843},{"style":281},[844],{"type":85,"value":671},{"type":79,"tag":133,"props":846,"children":847},{"style":275},[848],{"type":85,"value":745},{"type":79,"tag":133,"props":850,"children":851},{"class":135,"line":317},[852,857,861,865,870,874,880],{"type":79,"tag":133,"props":853,"children":854},{"style":395},[855],{"type":85,"value":856},"  frontendApiProxy",{"type":79,"tag":133,"props":858,"children":859},{"style":275},[860],{"type":85,"value":403},{"type":79,"tag":133,"props":862,"children":863},{"style":275},[864],{"type":85,"value":278},{"type":79,"tag":133,"props":866,"children":867},{"style":395},[868],{"type":85,"value":869}," enabled",{"type":79,"tag":133,"props":871,"children":872},{"style":275},[873],{"type":85,"value":403},{"type":79,"tag":133,"props":875,"children":877},{"style":876},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[878],{"type":85,"value":879}," true",{"type":79,"tag":133,"props":881,"children":882},{"style":275},[883],{"type":85,"value":884}," },\n",{"type":79,"tag":133,"props":886,"children":887},{"class":135,"line":327},[888,892,896],{"type":79,"tag":133,"props":889,"children":890},{"style":275},[891],{"type":85,"value":792},{"type":79,"tag":133,"props":893,"children":894},{"style":281},[895],{"type":85,"value":700},{"type":79,"tag":133,"props":897,"children":898},{"style":275},[899],{"type":85,"value":314},{"type":79,"tag":115,"props":901,"children":903},{"id":902},"provider-setup",[904],{"type":85,"value":905},"Provider Setup",{"type":79,"tag":122,"props":907,"children":911},{"className":908,"code":909,"language":910,"meta":127,"style":127},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u002F\u002F app\u002Flayout.tsx\nimport { ClerkProvider } from \"@clerk\u002Fnextjs\";\n\nexport default function RootLayout({\n  children,\n}: {\n  children: React.ReactNode;\n}) {\n  return (\n    \u003CClerkProvider>\n      \u003Chtml lang=\"en\">\n        \u003Cbody>{children}\u003C\u002Fbody>\n      \u003C\u002Fhtml>\n    \u003C\u002FClerkProvider>\n  );\n}\n","tsx",[912],{"type":79,"tag":106,"props":913,"children":914},{"__ignoreMap":127},[915,923,963,970,996,1008,1020,1049,1061,1074,1092,1131,1167,1183,1200,1213],{"type":79,"tag":133,"props":916,"children":917},{"class":135,"line":136},[918],{"type":79,"tag":133,"props":919,"children":920},{"style":140},[921],{"type":85,"value":922},"\u002F\u002F app\u002Flayout.tsx\n",{"type":79,"tag":133,"props":924,"children":925},{"class":135,"line":146},[926,930,934,939,943,947,951,955,959],{"type":79,"tag":133,"props":927,"children":928},{"style":269},[929],{"type":85,"value":272},{"type":79,"tag":133,"props":931,"children":932},{"style":275},[933],{"type":85,"value":278},{"type":79,"tag":133,"props":935,"children":936},{"style":281},[937],{"type":85,"value":938}," ClerkProvider",{"type":79,"tag":133,"props":940,"children":941},{"style":275},[942],{"type":85,"value":289},{"type":79,"tag":133,"props":944,"children":945},{"style":269},[946],{"type":85,"value":294},{"type":79,"tag":133,"props":948,"children":949},{"style":275},[950],{"type":85,"value":299},{"type":79,"tag":133,"props":952,"children":953},{"style":156},[954],{"type":85,"value":111},{"type":79,"tag":133,"props":956,"children":957},{"style":275},[958],{"type":85,"value":309},{"type":79,"tag":133,"props":960,"children":961},{"style":275},[962],{"type":85,"value":314},{"type":79,"tag":133,"props":964,"children":965},{"class":135,"line":317},[966],{"type":79,"tag":133,"props":967,"children":968},{"emptyLinePlaceholder":321},[969],{"type":85,"value":324},{"type":79,"tag":133,"props":971,"children":972},{"class":135,"line":327},[973,977,981,986,991],{"type":79,"tag":133,"props":974,"children":975},{"style":269},[976],{"type":85,"value":333},{"type":79,"tag":133,"props":978,"children":979},{"style":269},[980],{"type":85,"value":338},{"type":79,"tag":133,"props":982,"children":983},{"style":370},[984],{"type":85,"value":985}," function",{"type":79,"tag":133,"props":987,"children":988},{"style":341},[989],{"type":85,"value":990}," RootLayout",{"type":79,"tag":133,"props":992,"children":993},{"style":275},[994],{"type":85,"value":995},"({\n",{"type":79,"tag":133,"props":997,"children":998},{"class":135,"line":355},[999,1004],{"type":79,"tag":133,"props":1000,"children":1001},{"style":684},[1002],{"type":85,"value":1003},"  children",{"type":79,"tag":133,"props":1005,"children":1006},{"style":275},[1007],{"type":85,"value":450},{"type":79,"tag":133,"props":1009,"children":1010},{"class":135,"line":42},[1011,1016],{"type":79,"tag":133,"props":1012,"children":1013},{"style":275},[1014],{"type":85,"value":1015},"}:",{"type":79,"tag":133,"props":1017,"children":1018},{"style":275},[1019],{"type":85,"value":388},{"type":79,"tag":133,"props":1021,"children":1022},{"class":135,"line":391},[1023,1027,1031,1036,1040,1045],{"type":79,"tag":133,"props":1024,"children":1025},{"style":395},[1026],{"type":85,"value":1003},{"type":79,"tag":133,"props":1028,"children":1029},{"style":275},[1030],{"type":85,"value":403},{"type":79,"tag":133,"props":1032,"children":1033},{"style":150},[1034],{"type":85,"value":1035}," React",{"type":79,"tag":133,"props":1037,"children":1038},{"style":275},[1039],{"type":85,"value":763},{"type":79,"tag":133,"props":1041,"children":1042},{"style":150},[1043],{"type":85,"value":1044},"ReactNode",{"type":79,"tag":133,"props":1046,"children":1047},{"style":275},[1048],{"type":85,"value":314},{"type":79,"tag":133,"props":1050,"children":1051},{"class":135,"line":411},[1052,1057],{"type":79,"tag":133,"props":1053,"children":1054},{"style":275},[1055],{"type":85,"value":1056},"})",{"type":79,"tag":133,"props":1058,"children":1059},{"style":275},[1060],{"type":85,"value":388},{"type":79,"tag":133,"props":1062,"children":1063},{"class":135,"line":420},[1064,1069],{"type":79,"tag":133,"props":1065,"children":1066},{"style":269},[1067],{"type":85,"value":1068},"  return",{"type":79,"tag":133,"props":1070,"children":1071},{"style":395},[1072],{"type":85,"value":1073}," (\n",{"type":79,"tag":133,"props":1075,"children":1076},{"class":135,"line":453},[1077,1082,1087],{"type":79,"tag":133,"props":1078,"children":1079},{"style":275},[1080],{"type":85,"value":1081},"    \u003C",{"type":79,"tag":133,"props":1083,"children":1084},{"style":150},[1085],{"type":85,"value":1086},"ClerkProvider",{"type":79,"tag":133,"props":1088,"children":1089},{"style":275},[1090],{"type":85,"value":1091},">\n",{"type":79,"tag":133,"props":1093,"children":1094},{"class":135,"line":462},[1095,1100,1105,1110,1114,1118,1123,1127],{"type":79,"tag":133,"props":1096,"children":1097},{"style":275},[1098],{"type":85,"value":1099},"      \u003C",{"type":79,"tag":133,"props":1101,"children":1102},{"style":395},[1103],{"type":85,"value":1104},"html",{"type":79,"tag":133,"props":1106,"children":1107},{"style":370},[1108],{"type":85,"value":1109}," lang",{"type":79,"tag":133,"props":1111,"children":1112},{"style":275},[1113],{"type":85,"value":383},{"type":79,"tag":133,"props":1115,"children":1116},{"style":275},[1117],{"type":85,"value":309},{"type":79,"tag":133,"props":1119,"children":1120},{"style":156},[1121],{"type":85,"value":1122},"en",{"type":79,"tag":133,"props":1124,"children":1125},{"style":275},[1126],{"type":85,"value":309},{"type":79,"tag":133,"props":1128,"children":1129},{"style":275},[1130],{"type":85,"value":1091},{"type":79,"tag":133,"props":1132,"children":1133},{"class":135,"line":483},[1134,1139,1144,1149,1154,1159,1163],{"type":79,"tag":133,"props":1135,"children":1136},{"style":275},[1137],{"type":85,"value":1138},"        \u003C",{"type":79,"tag":133,"props":1140,"children":1141},{"style":395},[1142],{"type":85,"value":1143},"body",{"type":79,"tag":133,"props":1145,"children":1146},{"style":275},[1147],{"type":85,"value":1148},">{",{"type":79,"tag":133,"props":1150,"children":1151},{"style":281},[1152],{"type":85,"value":1153},"children",{"type":79,"tag":133,"props":1155,"children":1156},{"style":275},[1157],{"type":85,"value":1158},"}\u003C\u002F",{"type":79,"tag":133,"props":1160,"children":1161},{"style":395},[1162],{"type":85,"value":1143},{"type":79,"tag":133,"props":1164,"children":1165},{"style":275},[1166],{"type":85,"value":1091},{"type":79,"tag":133,"props":1168,"children":1169},{"class":135,"line":496},[1170,1175,1179],{"type":79,"tag":133,"props":1171,"children":1172},{"style":275},[1173],{"type":85,"value":1174},"      \u003C\u002F",{"type":79,"tag":133,"props":1176,"children":1177},{"style":395},[1178],{"type":85,"value":1104},{"type":79,"tag":133,"props":1180,"children":1181},{"style":275},[1182],{"type":85,"value":1091},{"type":79,"tag":133,"props":1184,"children":1186},{"class":135,"line":1185},14,[1187,1192,1196],{"type":79,"tag":133,"props":1188,"children":1189},{"style":275},[1190],{"type":85,"value":1191},"    \u003C\u002F",{"type":79,"tag":133,"props":1193,"children":1194},{"style":150},[1195],{"type":85,"value":1086},{"type":79,"tag":133,"props":1197,"children":1198},{"style":275},[1199],{"type":85,"value":1091},{"type":79,"tag":133,"props":1201,"children":1203},{"class":135,"line":1202},15,[1204,1209],{"type":79,"tag":133,"props":1205,"children":1206},{"style":395},[1207],{"type":85,"value":1208},"  )",{"type":79,"tag":133,"props":1210,"children":1211},{"style":275},[1212],{"type":85,"value":314},{"type":79,"tag":133,"props":1214,"children":1216},{"class":135,"line":1215},16,[1217],{"type":79,"tag":133,"props":1218,"children":1219},{"style":275},[1220],{"type":85,"value":1221},"}\n",{"type":79,"tag":115,"props":1223,"children":1225},{"id":1224},"sign-in-and-sign-up-pages",[1226],{"type":85,"value":1227},"Sign-In and Sign-Up Pages",{"type":79,"tag":122,"props":1229,"children":1231},{"className":908,"code":1230,"language":910,"meta":127,"style":127},"\u002F\u002F app\u002Fsign-in\u002F[[...sign-in]]\u002Fpage.tsx\nimport { SignIn } from \"@clerk\u002Fnextjs\";\n\nexport default function Page() {\n  return \u003CSignIn \u002F>;\n}\n",[1232],{"type":79,"tag":106,"props":1233,"children":1234},{"__ignoreMap":127},[1235,1243,1283,1290,1318,1340],{"type":79,"tag":133,"props":1236,"children":1237},{"class":135,"line":136},[1238],{"type":79,"tag":133,"props":1239,"children":1240},{"style":140},[1241],{"type":85,"value":1242},"\u002F\u002F app\u002Fsign-in\u002F[[...sign-in]]\u002Fpage.tsx\n",{"type":79,"tag":133,"props":1244,"children":1245},{"class":135,"line":146},[1246,1250,1254,1259,1263,1267,1271,1275,1279],{"type":79,"tag":133,"props":1247,"children":1248},{"style":269},[1249],{"type":85,"value":272},{"type":79,"tag":133,"props":1251,"children":1252},{"style":275},[1253],{"type":85,"value":278},{"type":79,"tag":133,"props":1255,"children":1256},{"style":281},[1257],{"type":85,"value":1258}," SignIn",{"type":79,"tag":133,"props":1260,"children":1261},{"style":275},[1262],{"type":85,"value":289},{"type":79,"tag":133,"props":1264,"children":1265},{"style":269},[1266],{"type":85,"value":294},{"type":79,"tag":133,"props":1268,"children":1269},{"style":275},[1270],{"type":85,"value":299},{"type":79,"tag":133,"props":1272,"children":1273},{"style":156},[1274],{"type":85,"value":111},{"type":79,"tag":133,"props":1276,"children":1277},{"style":275},[1278],{"type":85,"value":309},{"type":79,"tag":133,"props":1280,"children":1281},{"style":275},[1282],{"type":85,"value":314},{"type":79,"tag":133,"props":1284,"children":1285},{"class":135,"line":317},[1286],{"type":79,"tag":133,"props":1287,"children":1288},{"emptyLinePlaceholder":321},[1289],{"type":85,"value":324},{"type":79,"tag":133,"props":1291,"children":1292},{"class":135,"line":327},[1293,1297,1301,1305,1310,1314],{"type":79,"tag":133,"props":1294,"children":1295},{"style":269},[1296],{"type":85,"value":333},{"type":79,"tag":133,"props":1298,"children":1299},{"style":269},[1300],{"type":85,"value":338},{"type":79,"tag":133,"props":1302,"children":1303},{"style":370},[1304],{"type":85,"value":985},{"type":79,"tag":133,"props":1306,"children":1307},{"style":341},[1308],{"type":85,"value":1309}," Page",{"type":79,"tag":133,"props":1311,"children":1312},{"style":275},[1313],{"type":85,"value":348},{"type":79,"tag":133,"props":1315,"children":1316},{"style":275},[1317],{"type":85,"value":388},{"type":79,"tag":133,"props":1319,"children":1320},{"class":135,"line":355},[1321,1325,1330,1335],{"type":79,"tag":133,"props":1322,"children":1323},{"style":269},[1324],{"type":85,"value":1068},{"type":79,"tag":133,"props":1326,"children":1327},{"style":275},[1328],{"type":85,"value":1329}," \u003C",{"type":79,"tag":133,"props":1331,"children":1332},{"style":150},[1333],{"type":85,"value":1334},"SignIn",{"type":79,"tag":133,"props":1336,"children":1337},{"style":275},[1338],{"type":85,"value":1339}," \u002F>;\n",{"type":79,"tag":133,"props":1341,"children":1342},{"class":135,"line":42},[1343],{"type":79,"tag":133,"props":1344,"children":1345},{"style":275},[1346],{"type":85,"value":1221},{"type":79,"tag":122,"props":1348,"children":1350},{"className":908,"code":1349,"language":910,"meta":127,"style":127},"\u002F\u002F app\u002Fsign-up\u002F[[...sign-up]]\u002Fpage.tsx\nimport { SignUp } from \"@clerk\u002Fnextjs\";\n\nexport default function Page() {\n  return \u003CSignUp \u002F>;\n}\n",[1351],{"type":79,"tag":106,"props":1352,"children":1353},{"__ignoreMap":127},[1354,1362,1402,1409,1436,1456],{"type":79,"tag":133,"props":1355,"children":1356},{"class":135,"line":136},[1357],{"type":79,"tag":133,"props":1358,"children":1359},{"style":140},[1360],{"type":85,"value":1361},"\u002F\u002F app\u002Fsign-up\u002F[[...sign-up]]\u002Fpage.tsx\n",{"type":79,"tag":133,"props":1363,"children":1364},{"class":135,"line":146},[1365,1369,1373,1378,1382,1386,1390,1394,1398],{"type":79,"tag":133,"props":1366,"children":1367},{"style":269},[1368],{"type":85,"value":272},{"type":79,"tag":133,"props":1370,"children":1371},{"style":275},[1372],{"type":85,"value":278},{"type":79,"tag":133,"props":1374,"children":1375},{"style":281},[1376],{"type":85,"value":1377}," SignUp",{"type":79,"tag":133,"props":1379,"children":1380},{"style":275},[1381],{"type":85,"value":289},{"type":79,"tag":133,"props":1383,"children":1384},{"style":269},[1385],{"type":85,"value":294},{"type":79,"tag":133,"props":1387,"children":1388},{"style":275},[1389],{"type":85,"value":299},{"type":79,"tag":133,"props":1391,"children":1392},{"style":156},[1393],{"type":85,"value":111},{"type":79,"tag":133,"props":1395,"children":1396},{"style":275},[1397],{"type":85,"value":309},{"type":79,"tag":133,"props":1399,"children":1400},{"style":275},[1401],{"type":85,"value":314},{"type":79,"tag":133,"props":1403,"children":1404},{"class":135,"line":317},[1405],{"type":79,"tag":133,"props":1406,"children":1407},{"emptyLinePlaceholder":321},[1408],{"type":85,"value":324},{"type":79,"tag":133,"props":1410,"children":1411},{"class":135,"line":327},[1412,1416,1420,1424,1428,1432],{"type":79,"tag":133,"props":1413,"children":1414},{"style":269},[1415],{"type":85,"value":333},{"type":79,"tag":133,"props":1417,"children":1418},{"style":269},[1419],{"type":85,"value":338},{"type":79,"tag":133,"props":1421,"children":1422},{"style":370},[1423],{"type":85,"value":985},{"type":79,"tag":133,"props":1425,"children":1426},{"style":341},[1427],{"type":85,"value":1309},{"type":79,"tag":133,"props":1429,"children":1430},{"style":275},[1431],{"type":85,"value":348},{"type":79,"tag":133,"props":1433,"children":1434},{"style":275},[1435],{"type":85,"value":388},{"type":79,"tag":133,"props":1437,"children":1438},{"class":135,"line":355},[1439,1443,1447,1452],{"type":79,"tag":133,"props":1440,"children":1441},{"style":269},[1442],{"type":85,"value":1068},{"type":79,"tag":133,"props":1444,"children":1445},{"style":275},[1446],{"type":85,"value":1329},{"type":79,"tag":133,"props":1448,"children":1449},{"style":150},[1450],{"type":85,"value":1451},"SignUp",{"type":79,"tag":133,"props":1453,"children":1454},{"style":275},[1455],{"type":85,"value":1339},{"type":79,"tag":133,"props":1457,"children":1458},{"class":135,"line":42},[1459],{"type":79,"tag":133,"props":1460,"children":1461},{"style":275},[1462],{"type":85,"value":1221},{"type":79,"tag":88,"props":1464,"children":1465},{},[1466,1468,1474],{"type":85,"value":1467},"Add routing env vars to ",{"type":79,"tag":106,"props":1469,"children":1471},{"className":1470},[],[1472],{"type":85,"value":1473},".env.local",{"type":85,"value":403},{"type":79,"tag":122,"props":1476,"children":1480},{"className":1477,"code":1478,"language":1479,"meta":127,"style":127},"language-env shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","NEXT_PUBLIC_CLERK_SIGN_IN_URL=\u002Fsign-in\nNEXT_PUBLIC_CLERK_SIGN_UP_URL=\u002Fsign-up\n","env",[1481],{"type":79,"tag":106,"props":1482,"children":1483},{"__ignoreMap":127},[1484,1492],{"type":79,"tag":133,"props":1485,"children":1486},{"class":135,"line":136},[1487],{"type":79,"tag":133,"props":1488,"children":1489},{},[1490],{"type":85,"value":1491},"NEXT_PUBLIC_CLERK_SIGN_IN_URL=\u002Fsign-in\n",{"type":79,"tag":133,"props":1493,"children":1494},{"class":135,"line":146},[1495],{"type":79,"tag":133,"props":1496,"children":1497},{},[1498],{"type":85,"value":1499},"NEXT_PUBLIC_CLERK_SIGN_UP_URL=\u002Fsign-up\n",{"type":79,"tag":115,"props":1501,"children":1503},{"id":1502},"access-user-data",[1504],{"type":85,"value":1505},"Access User Data",{"type":79,"tag":122,"props":1507,"children":1509},{"className":908,"code":1508,"language":910,"meta":127,"style":127},"\u002F\u002F Server component\nimport { currentUser } from \"@clerk\u002Fnextjs\u002Fserver\";\n\nexport default async function Page() {\n  const user = await currentUser();\n  return \u003Cp>Hello, {user?.firstName}\u003C\u002Fp>;\n}\n",[1510],{"type":79,"tag":106,"props":1511,"children":1512},{"__ignoreMap":127},[1513,1521,1561,1568,1600,1635,1693],{"type":79,"tag":133,"props":1514,"children":1515},{"class":135,"line":136},[1516],{"type":79,"tag":133,"props":1517,"children":1518},{"style":140},[1519],{"type":85,"value":1520},"\u002F\u002F Server component\n",{"type":79,"tag":133,"props":1522,"children":1523},{"class":135,"line":146},[1524,1528,1532,1537,1541,1545,1549,1553,1557],{"type":79,"tag":133,"props":1525,"children":1526},{"style":269},[1527],{"type":85,"value":272},{"type":79,"tag":133,"props":1529,"children":1530},{"style":275},[1531],{"type":85,"value":278},{"type":79,"tag":133,"props":1533,"children":1534},{"style":281},[1535],{"type":85,"value":1536}," currentUser",{"type":79,"tag":133,"props":1538,"children":1539},{"style":275},[1540],{"type":85,"value":289},{"type":79,"tag":133,"props":1542,"children":1543},{"style":269},[1544],{"type":85,"value":294},{"type":79,"tag":133,"props":1546,"children":1547},{"style":275},[1548],{"type":85,"value":299},{"type":79,"tag":133,"props":1550,"children":1551},{"style":156},[1552],{"type":85,"value":304},{"type":79,"tag":133,"props":1554,"children":1555},{"style":275},[1556],{"type":85,"value":309},{"type":79,"tag":133,"props":1558,"children":1559},{"style":275},[1560],{"type":85,"value":314},{"type":79,"tag":133,"props":1562,"children":1563},{"class":135,"line":317},[1564],{"type":79,"tag":133,"props":1565,"children":1566},{"emptyLinePlaceholder":321},[1567],{"type":85,"value":324},{"type":79,"tag":133,"props":1569,"children":1570},{"class":135,"line":327},[1571,1575,1579,1584,1588,1592,1596],{"type":79,"tag":133,"props":1572,"children":1573},{"style":269},[1574],{"type":85,"value":333},{"type":79,"tag":133,"props":1576,"children":1577},{"style":269},[1578],{"type":85,"value":338},{"type":79,"tag":133,"props":1580,"children":1581},{"style":370},[1582],{"type":85,"value":1583}," async",{"type":79,"tag":133,"props":1585,"children":1586},{"style":370},[1587],{"type":85,"value":985},{"type":79,"tag":133,"props":1589,"children":1590},{"style":341},[1591],{"type":85,"value":1309},{"type":79,"tag":133,"props":1593,"children":1594},{"style":275},[1595],{"type":85,"value":348},{"type":79,"tag":133,"props":1597,"children":1598},{"style":275},[1599],{"type":85,"value":388},{"type":79,"tag":133,"props":1601,"children":1602},{"class":135,"line":355},[1603,1608,1613,1618,1623,1627,1631],{"type":79,"tag":133,"props":1604,"children":1605},{"style":370},[1606],{"type":85,"value":1607},"  const",{"type":79,"tag":133,"props":1609,"children":1610},{"style":281},[1611],{"type":85,"value":1612}," user",{"type":79,"tag":133,"props":1614,"children":1615},{"style":275},[1616],{"type":85,"value":1617}," =",{"type":79,"tag":133,"props":1619,"children":1620},{"style":269},[1621],{"type":85,"value":1622}," await",{"type":79,"tag":133,"props":1624,"children":1625},{"style":341},[1626],{"type":85,"value":1536},{"type":79,"tag":133,"props":1628,"children":1629},{"style":395},[1630],{"type":85,"value":348},{"type":79,"tag":133,"props":1632,"children":1633},{"style":275},[1634],{"type":85,"value":314},{"type":79,"tag":133,"props":1636,"children":1637},{"class":135,"line":42},[1638,1642,1646,1650,1655,1660,1665,1670,1675,1680,1684,1688],{"type":79,"tag":133,"props":1639,"children":1640},{"style":269},[1641],{"type":85,"value":1068},{"type":79,"tag":133,"props":1643,"children":1644},{"style":275},[1645],{"type":85,"value":1329},{"type":79,"tag":133,"props":1647,"children":1648},{"style":395},[1649],{"type":85,"value":88},{"type":79,"tag":133,"props":1651,"children":1652},{"style":275},[1653],{"type":85,"value":1654},">",{"type":79,"tag":133,"props":1656,"children":1657},{"style":281},[1658],{"type":85,"value":1659},"Hello, ",{"type":79,"tag":133,"props":1661,"children":1662},{"style":275},[1663],{"type":85,"value":1664},"{",{"type":79,"tag":133,"props":1666,"children":1667},{"style":281},[1668],{"type":85,"value":1669},"user",{"type":79,"tag":133,"props":1671,"children":1672},{"style":275},[1673],{"type":85,"value":1674},"?.",{"type":79,"tag":133,"props":1676,"children":1677},{"style":281},[1678],{"type":85,"value":1679},"firstName",{"type":79,"tag":133,"props":1681,"children":1682},{"style":275},[1683],{"type":85,"value":1158},{"type":79,"tag":133,"props":1685,"children":1686},{"style":395},[1687],{"type":85,"value":88},{"type":79,"tag":133,"props":1689,"children":1690},{"style":275},[1691],{"type":85,"value":1692},">;\n",{"type":79,"tag":133,"props":1694,"children":1695},{"class":135,"line":391},[1696],{"type":79,"tag":133,"props":1697,"children":1698},{"style":275},[1699],{"type":85,"value":1221},{"type":79,"tag":122,"props":1701,"children":1703},{"className":908,"code":1702,"language":910,"meta":127,"style":127},"\u002F\u002F Client component\n\"use client\";\nimport { useUser } from \"@clerk\u002Fnextjs\";\n\nexport default function UserGreeting() {\n  const { user, isLoaded } = useUser();\n  if (!isLoaded) return null;\n  return \u003Cp>Hello, {user?.firstName}\u003C\u002Fp>;\n}\n",[1704],{"type":79,"tag":106,"props":1705,"children":1706},{"__ignoreMap":127},[1707,1715,1735,1775,1782,1810,1854,1890,1941],{"type":79,"tag":133,"props":1708,"children":1709},{"class":135,"line":136},[1710],{"type":79,"tag":133,"props":1711,"children":1712},{"style":140},[1713],{"type":85,"value":1714},"\u002F\u002F Client component\n",{"type":79,"tag":133,"props":1716,"children":1717},{"class":135,"line":146},[1718,1722,1727,1731],{"type":79,"tag":133,"props":1719,"children":1720},{"style":275},[1721],{"type":85,"value":309},{"type":79,"tag":133,"props":1723,"children":1724},{"style":156},[1725],{"type":85,"value":1726},"use client",{"type":79,"tag":133,"props":1728,"children":1729},{"style":275},[1730],{"type":85,"value":309},{"type":79,"tag":133,"props":1732,"children":1733},{"style":275},[1734],{"type":85,"value":314},{"type":79,"tag":133,"props":1736,"children":1737},{"class":135,"line":317},[1738,1742,1746,1751,1755,1759,1763,1767,1771],{"type":79,"tag":133,"props":1739,"children":1740},{"style":269},[1741],{"type":85,"value":272},{"type":79,"tag":133,"props":1743,"children":1744},{"style":275},[1745],{"type":85,"value":278},{"type":79,"tag":133,"props":1747,"children":1748},{"style":281},[1749],{"type":85,"value":1750}," useUser",{"type":79,"tag":133,"props":1752,"children":1753},{"style":275},[1754],{"type":85,"value":289},{"type":79,"tag":133,"props":1756,"children":1757},{"style":269},[1758],{"type":85,"value":294},{"type":79,"tag":133,"props":1760,"children":1761},{"style":275},[1762],{"type":85,"value":299},{"type":79,"tag":133,"props":1764,"children":1765},{"style":156},[1766],{"type":85,"value":111},{"type":79,"tag":133,"props":1768,"children":1769},{"style":275},[1770],{"type":85,"value":309},{"type":79,"tag":133,"props":1772,"children":1773},{"style":275},[1774],{"type":85,"value":314},{"type":79,"tag":133,"props":1776,"children":1777},{"class":135,"line":327},[1778],{"type":79,"tag":133,"props":1779,"children":1780},{"emptyLinePlaceholder":321},[1781],{"type":85,"value":324},{"type":79,"tag":133,"props":1783,"children":1784},{"class":135,"line":355},[1785,1789,1793,1797,1802,1806],{"type":79,"tag":133,"props":1786,"children":1787},{"style":269},[1788],{"type":85,"value":333},{"type":79,"tag":133,"props":1790,"children":1791},{"style":269},[1792],{"type":85,"value":338},{"type":79,"tag":133,"props":1794,"children":1795},{"style":370},[1796],{"type":85,"value":985},{"type":79,"tag":133,"props":1798,"children":1799},{"style":341},[1800],{"type":85,"value":1801}," UserGreeting",{"type":79,"tag":133,"props":1803,"children":1804},{"style":275},[1805],{"type":85,"value":348},{"type":79,"tag":133,"props":1807,"children":1808},{"style":275},[1809],{"type":85,"value":388},{"type":79,"tag":133,"props":1811,"children":1812},{"class":135,"line":42},[1813,1817,1821,1825,1829,1834,1838,1842,1846,1850],{"type":79,"tag":133,"props":1814,"children":1815},{"style":370},[1816],{"type":85,"value":1607},{"type":79,"tag":133,"props":1818,"children":1819},{"style":275},[1820],{"type":85,"value":278},{"type":79,"tag":133,"props":1822,"children":1823},{"style":281},[1824],{"type":85,"value":1612},{"type":79,"tag":133,"props":1826,"children":1827},{"style":275},[1828],{"type":85,"value":543},{"type":79,"tag":133,"props":1830,"children":1831},{"style":281},[1832],{"type":85,"value":1833}," isLoaded",{"type":79,"tag":133,"props":1835,"children":1836},{"style":275},[1837],{"type":85,"value":289},{"type":79,"tag":133,"props":1839,"children":1840},{"style":275},[1841],{"type":85,"value":1617},{"type":79,"tag":133,"props":1843,"children":1844},{"style":341},[1845],{"type":85,"value":1750},{"type":79,"tag":133,"props":1847,"children":1848},{"style":395},[1849],{"type":85,"value":348},{"type":79,"tag":133,"props":1851,"children":1852},{"style":275},[1853],{"type":85,"value":314},{"type":79,"tag":133,"props":1855,"children":1856},{"class":135,"line":391},[1857,1861,1865,1870,1875,1880,1885],{"type":79,"tag":133,"props":1858,"children":1859},{"style":269},[1860],{"type":85,"value":717},{"type":79,"tag":133,"props":1862,"children":1863},{"style":395},[1864],{"type":85,"value":681},{"type":79,"tag":133,"props":1866,"children":1867},{"style":275},[1868],{"type":85,"value":1869},"!",{"type":79,"tag":133,"props":1871,"children":1872},{"style":281},[1873],{"type":85,"value":1874},"isLoaded",{"type":79,"tag":133,"props":1876,"children":1877},{"style":395},[1878],{"type":85,"value":1879},") ",{"type":79,"tag":133,"props":1881,"children":1882},{"style":269},[1883],{"type":85,"value":1884},"return",{"type":79,"tag":133,"props":1886,"children":1887},{"style":275},[1888],{"type":85,"value":1889}," null;\n",{"type":79,"tag":133,"props":1891,"children":1892},{"class":135,"line":411},[1893,1897,1901,1905,1909,1913,1917,1921,1925,1929,1933,1937],{"type":79,"tag":133,"props":1894,"children":1895},{"style":269},[1896],{"type":85,"value":1068},{"type":79,"tag":133,"props":1898,"children":1899},{"style":275},[1900],{"type":85,"value":1329},{"type":79,"tag":133,"props":1902,"children":1903},{"style":395},[1904],{"type":85,"value":88},{"type":79,"tag":133,"props":1906,"children":1907},{"style":275},[1908],{"type":85,"value":1654},{"type":79,"tag":133,"props":1910,"children":1911},{"style":281},[1912],{"type":85,"value":1659},{"type":79,"tag":133,"props":1914,"children":1915},{"style":275},[1916],{"type":85,"value":1664},{"type":79,"tag":133,"props":1918,"children":1919},{"style":281},[1920],{"type":85,"value":1669},{"type":79,"tag":133,"props":1922,"children":1923},{"style":275},[1924],{"type":85,"value":1674},{"type":79,"tag":133,"props":1926,"children":1927},{"style":281},[1928],{"type":85,"value":1679},{"type":79,"tag":133,"props":1930,"children":1931},{"style":275},[1932],{"type":85,"value":1158},{"type":79,"tag":133,"props":1934,"children":1935},{"style":395},[1936],{"type":85,"value":88},{"type":79,"tag":133,"props":1938,"children":1939},{"style":275},[1940],{"type":85,"value":1692},{"type":79,"tag":133,"props":1942,"children":1943},{"class":135,"line":420},[1944],{"type":79,"tag":133,"props":1945,"children":1946},{"style":275},[1947],{"type":85,"value":1221},{"type":79,"tag":115,"props":1949,"children":1951},{"id":1950},"api-route-protection",[1952],{"type":85,"value":1953},"API Route Protection",{"type":79,"tag":122,"props":1955,"children":1957},{"className":249,"code":1956,"language":251,"meta":127,"style":127},"\u002F\u002F app\u002Fapi\u002Fprotected\u002Froute.ts\nimport { auth } from \"@clerk\u002Fnextjs\u002Fserver\";\n\nexport async function GET() {\n  const { userId } = await auth();\n  if (!userId) {\n    return Response.json({ error: \"Unauthorized\" }, { status: 401 });\n  }\n  return Response.json({ userId });\n}\n",[1958],{"type":79,"tag":106,"props":1959,"children":1960},{"__ignoreMap":127},[1961,1969,2008,2015,2043,2083,2111,2199,2206,2249],{"type":79,"tag":133,"props":1962,"children":1963},{"class":135,"line":136},[1964],{"type":79,"tag":133,"props":1965,"children":1966},{"style":140},[1967],{"type":85,"value":1968},"\u002F\u002F app\u002Fapi\u002Fprotected\u002Froute.ts\n",{"type":79,"tag":133,"props":1970,"children":1971},{"class":135,"line":146},[1972,1976,1980,1984,1988,1992,1996,2000,2004],{"type":79,"tag":133,"props":1973,"children":1974},{"style":269},[1975],{"type":85,"value":272},{"type":79,"tag":133,"props":1977,"children":1978},{"style":275},[1979],{"type":85,"value":278},{"type":79,"tag":133,"props":1981,"children":1982},{"style":281},[1983],{"type":85,"value":758},{"type":79,"tag":133,"props":1985,"children":1986},{"style":275},[1987],{"type":85,"value":289},{"type":79,"tag":133,"props":1989,"children":1990},{"style":269},[1991],{"type":85,"value":294},{"type":79,"tag":133,"props":1993,"children":1994},{"style":275},[1995],{"type":85,"value":299},{"type":79,"tag":133,"props":1997,"children":1998},{"style":156},[1999],{"type":85,"value":304},{"type":79,"tag":133,"props":2001,"children":2002},{"style":275},[2003],{"type":85,"value":309},{"type":79,"tag":133,"props":2005,"children":2006},{"style":275},[2007],{"type":85,"value":314},{"type":79,"tag":133,"props":2009,"children":2010},{"class":135,"line":317},[2011],{"type":79,"tag":133,"props":2012,"children":2013},{"emptyLinePlaceholder":321},[2014],{"type":85,"value":324},{"type":79,"tag":133,"props":2016,"children":2017},{"class":135,"line":327},[2018,2022,2026,2030,2035,2039],{"type":79,"tag":133,"props":2019,"children":2020},{"style":269},[2021],{"type":85,"value":333},{"type":79,"tag":133,"props":2023,"children":2024},{"style":370},[2025],{"type":85,"value":1583},{"type":79,"tag":133,"props":2027,"children":2028},{"style":370},[2029],{"type":85,"value":985},{"type":79,"tag":133,"props":2031,"children":2032},{"style":341},[2033],{"type":85,"value":2034}," GET",{"type":79,"tag":133,"props":2036,"children":2037},{"style":275},[2038],{"type":85,"value":348},{"type":79,"tag":133,"props":2040,"children":2041},{"style":275},[2042],{"type":85,"value":388},{"type":79,"tag":133,"props":2044,"children":2045},{"class":135,"line":355},[2046,2050,2054,2059,2063,2067,2071,2075,2079],{"type":79,"tag":133,"props":2047,"children":2048},{"style":370},[2049],{"type":85,"value":1607},{"type":79,"tag":133,"props":2051,"children":2052},{"style":275},[2053],{"type":85,"value":278},{"type":79,"tag":133,"props":2055,"children":2056},{"style":281},[2057],{"type":85,"value":2058}," userId",{"type":79,"tag":133,"props":2060,"children":2061},{"style":275},[2062],{"type":85,"value":289},{"type":79,"tag":133,"props":2064,"children":2065},{"style":275},[2066],{"type":85,"value":1617},{"type":79,"tag":133,"props":2068,"children":2069},{"style":269},[2070],{"type":85,"value":1622},{"type":79,"tag":133,"props":2072,"children":2073},{"style":341},[2074],{"type":85,"value":758},{"type":79,"tag":133,"props":2076,"children":2077},{"style":395},[2078],{"type":85,"value":348},{"type":79,"tag":133,"props":2080,"children":2081},{"style":275},[2082],{"type":85,"value":314},{"type":79,"tag":133,"props":2084,"children":2085},{"class":135,"line":42},[2086,2090,2094,2098,2103,2107],{"type":79,"tag":133,"props":2087,"children":2088},{"style":269},[2089],{"type":85,"value":717},{"type":79,"tag":133,"props":2091,"children":2092},{"style":395},[2093],{"type":85,"value":681},{"type":79,"tag":133,"props":2095,"children":2096},{"style":275},[2097],{"type":85,"value":1869},{"type":79,"tag":133,"props":2099,"children":2100},{"style":281},[2101],{"type":85,"value":2102},"userId",{"type":79,"tag":133,"props":2104,"children":2105},{"style":395},[2106],{"type":85,"value":1879},{"type":79,"tag":133,"props":2108,"children":2109},{"style":275},[2110],{"type":85,"value":745},{"type":79,"tag":133,"props":2112,"children":2113},{"class":135,"line":391},[2114,2119,2124,2128,2133,2137,2141,2146,2150,2154,2159,2163,2168,2172,2177,2181,2187,2191,2195],{"type":79,"tag":133,"props":2115,"children":2116},{"style":269},[2117],{"type":85,"value":2118},"    return",{"type":79,"tag":133,"props":2120,"children":2121},{"style":281},[2122],{"type":85,"value":2123}," Response",{"type":79,"tag":133,"props":2125,"children":2126},{"style":275},[2127],{"type":85,"value":763},{"type":79,"tag":133,"props":2129,"children":2130},{"style":341},[2131],{"type":85,"value":2132},"json",{"type":79,"tag":133,"props":2134,"children":2135},{"style":395},[2136],{"type":85,"value":671},{"type":79,"tag":133,"props":2138,"children":2139},{"style":275},[2140],{"type":85,"value":1664},{"type":79,"tag":133,"props":2142,"children":2143},{"style":395},[2144],{"type":85,"value":2145}," error",{"type":79,"tag":133,"props":2147,"children":2148},{"style":275},[2149],{"type":85,"value":403},{"type":79,"tag":133,"props":2151,"children":2152},{"style":275},[2153],{"type":85,"value":299},{"type":79,"tag":133,"props":2155,"children":2156},{"style":156},[2157],{"type":85,"value":2158},"Unauthorized",{"type":79,"tag":133,"props":2160,"children":2161},{"style":275},[2162],{"type":85,"value":309},{"type":79,"tag":133,"props":2164,"children":2165},{"style":275},[2166],{"type":85,"value":2167}," },",{"type":79,"tag":133,"props":2169,"children":2170},{"style":275},[2171],{"type":85,"value":278},{"type":79,"tag":133,"props":2173,"children":2174},{"style":395},[2175],{"type":85,"value":2176}," status",{"type":79,"tag":133,"props":2178,"children":2179},{"style":275},[2180],{"type":85,"value":403},{"type":79,"tag":133,"props":2182,"children":2184},{"style":2183},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[2185],{"type":85,"value":2186}," 401",{"type":79,"tag":133,"props":2188,"children":2189},{"style":275},[2190],{"type":85,"value":289},{"type":79,"tag":133,"props":2192,"children":2193},{"style":395},[2194],{"type":85,"value":700},{"type":79,"tag":133,"props":2196,"children":2197},{"style":275},[2198],{"type":85,"value":314},{"type":79,"tag":133,"props":2200,"children":2201},{"class":135,"line":411},[2202],{"type":79,"tag":133,"props":2203,"children":2204},{"style":275},[2205],{"type":85,"value":784},{"type":79,"tag":133,"props":2207,"children":2208},{"class":135,"line":420},[2209,2213,2217,2221,2225,2229,2233,2237,2241,2245],{"type":79,"tag":133,"props":2210,"children":2211},{"style":269},[2212],{"type":85,"value":1068},{"type":79,"tag":133,"props":2214,"children":2215},{"style":281},[2216],{"type":85,"value":2123},{"type":79,"tag":133,"props":2218,"children":2219},{"style":275},[2220],{"type":85,"value":763},{"type":79,"tag":133,"props":2222,"children":2223},{"style":341},[2224],{"type":85,"value":2132},{"type":79,"tag":133,"props":2226,"children":2227},{"style":395},[2228],{"type":85,"value":671},{"type":79,"tag":133,"props":2230,"children":2231},{"style":275},[2232],{"type":85,"value":1664},{"type":79,"tag":133,"props":2234,"children":2235},{"style":281},[2236],{"type":85,"value":2058},{"type":79,"tag":133,"props":2238,"children":2239},{"style":275},[2240],{"type":85,"value":289},{"type":79,"tag":133,"props":2242,"children":2243},{"style":395},[2244],{"type":85,"value":700},{"type":79,"tag":133,"props":2246,"children":2247},{"style":275},[2248],{"type":85,"value":314},{"type":79,"tag":133,"props":2250,"children":2251},{"class":135,"line":453},[2252],{"type":79,"tag":133,"props":2253,"children":2254},{"style":275},[2255],{"type":85,"value":1221},{"type":79,"tag":94,"props":2257,"children":2259},{"id":2258},"descope",[2260],{"type":85,"value":2261},"Descope",{"type":79,"tag":88,"props":2263,"children":2264},{},[2265],{"type":85,"value":2266},"Descope is available on the Vercel Marketplace with native integration support.",{"type":79,"tag":115,"props":2268,"children":2270},{"id":2269},"install-via-marketplace-1",[2271],{"type":85,"value":120},{"type":79,"tag":122,"props":2273,"children":2275},{"className":124,"code":2274,"language":126,"meta":127,"style":127},"vercel integration add descope\n",[2276],{"type":79,"tag":106,"props":2277,"children":2278},{"__ignoreMap":127},[2279],{"type":79,"tag":133,"props":2280,"children":2281},{"class":135,"line":136},[2282,2286,2290,2294],{"type":79,"tag":133,"props":2283,"children":2284},{"style":150},[2285],{"type":85,"value":153},{"type":79,"tag":133,"props":2287,"children":2288},{"style":156},[2289],{"type":85,"value":159},{"type":79,"tag":133,"props":2291,"children":2292},{"style":156},[2293],{"type":85,"value":164},{"type":79,"tag":133,"props":2295,"children":2296},{"style":156},[2297],{"type":85,"value":2298}," descope\n",{"type":79,"tag":115,"props":2300,"children":2302},{"id":2301},"sdk-setup-1",[2303],{"type":85,"value":207},{"type":79,"tag":122,"props":2305,"children":2307},{"className":124,"code":2306,"language":126,"meta":127,"style":127},"npm install @descope\u002Fnextjs-sdk\n",[2308],{"type":79,"tag":106,"props":2309,"children":2310},{"__ignoreMap":127},[2311],{"type":79,"tag":133,"props":2312,"children":2313},{"class":135,"line":136},[2314,2318,2322],{"type":79,"tag":133,"props":2315,"children":2316},{"style":150},[2317],{"type":85,"value":230},{"type":79,"tag":133,"props":2319,"children":2320},{"style":156},[2321],{"type":85,"value":235},{"type":79,"tag":133,"props":2323,"children":2324},{"style":156},[2325],{"type":85,"value":2326}," @descope\u002Fnextjs-sdk\n",{"type":79,"tag":115,"props":2328,"children":2330},{"id":2329},"provider-and-middleware",[2331],{"type":85,"value":2332},"Provider and Middleware",{"type":79,"tag":122,"props":2334,"children":2336},{"className":908,"code":2335,"language":910,"meta":127,"style":127},"\u002F\u002F app\u002Flayout.tsx\nimport { AuthProvider } from \"@descope\u002Fnextjs-sdk\";\n\nexport default function RootLayout({\n  children,\n}: {\n  children: React.ReactNode;\n}) {\n  return (\n    \u003CAuthProvider projectId={process.env.NEXT_PUBLIC_DESCOPE_PROJECT_ID!}>\n      \u003Chtml lang=\"en\">\n        \u003Cbody>{children}\u003C\u002Fbody>\n      \u003C\u002Fhtml>\n    \u003C\u002FAuthProvider>\n  );\n}\n",[2337],{"type":79,"tag":106,"props":2338,"children":2339},{"__ignoreMap":127},[2340,2347,2388,2395,2418,2429,2440,2467,2478,2489,2538,2573,2604,2619,2634,2645],{"type":79,"tag":133,"props":2341,"children":2342},{"class":135,"line":136},[2343],{"type":79,"tag":133,"props":2344,"children":2345},{"style":140},[2346],{"type":85,"value":922},{"type":79,"tag":133,"props":2348,"children":2349},{"class":135,"line":146},[2350,2354,2358,2363,2367,2371,2375,2380,2384],{"type":79,"tag":133,"props":2351,"children":2352},{"style":269},[2353],{"type":85,"value":272},{"type":79,"tag":133,"props":2355,"children":2356},{"style":275},[2357],{"type":85,"value":278},{"type":79,"tag":133,"props":2359,"children":2360},{"style":281},[2361],{"type":85,"value":2362}," AuthProvider",{"type":79,"tag":133,"props":2364,"children":2365},{"style":275},[2366],{"type":85,"value":289},{"type":79,"tag":133,"props":2368,"children":2369},{"style":269},[2370],{"type":85,"value":294},{"type":79,"tag":133,"props":2372,"children":2373},{"style":275},[2374],{"type":85,"value":299},{"type":79,"tag":133,"props":2376,"children":2377},{"style":156},[2378],{"type":85,"value":2379},"@descope\u002Fnextjs-sdk",{"type":79,"tag":133,"props":2381,"children":2382},{"style":275},[2383],{"type":85,"value":309},{"type":79,"tag":133,"props":2385,"children":2386},{"style":275},[2387],{"type":85,"value":314},{"type":79,"tag":133,"props":2389,"children":2390},{"class":135,"line":317},[2391],{"type":79,"tag":133,"props":2392,"children":2393},{"emptyLinePlaceholder":321},[2394],{"type":85,"value":324},{"type":79,"tag":133,"props":2396,"children":2397},{"class":135,"line":327},[2398,2402,2406,2410,2414],{"type":79,"tag":133,"props":2399,"children":2400},{"style":269},[2401],{"type":85,"value":333},{"type":79,"tag":133,"props":2403,"children":2404},{"style":269},[2405],{"type":85,"value":338},{"type":79,"tag":133,"props":2407,"children":2408},{"style":370},[2409],{"type":85,"value":985},{"type":79,"tag":133,"props":2411,"children":2412},{"style":341},[2413],{"type":85,"value":990},{"type":79,"tag":133,"props":2415,"children":2416},{"style":275},[2417],{"type":85,"value":995},{"type":79,"tag":133,"props":2419,"children":2420},{"class":135,"line":355},[2421,2425],{"type":79,"tag":133,"props":2422,"children":2423},{"style":684},[2424],{"type":85,"value":1003},{"type":79,"tag":133,"props":2426,"children":2427},{"style":275},[2428],{"type":85,"value":450},{"type":79,"tag":133,"props":2430,"children":2431},{"class":135,"line":42},[2432,2436],{"type":79,"tag":133,"props":2433,"children":2434},{"style":275},[2435],{"type":85,"value":1015},{"type":79,"tag":133,"props":2437,"children":2438},{"style":275},[2439],{"type":85,"value":388},{"type":79,"tag":133,"props":2441,"children":2442},{"class":135,"line":391},[2443,2447,2451,2455,2459,2463],{"type":79,"tag":133,"props":2444,"children":2445},{"style":395},[2446],{"type":85,"value":1003},{"type":79,"tag":133,"props":2448,"children":2449},{"style":275},[2450],{"type":85,"value":403},{"type":79,"tag":133,"props":2452,"children":2453},{"style":150},[2454],{"type":85,"value":1035},{"type":79,"tag":133,"props":2456,"children":2457},{"style":275},[2458],{"type":85,"value":763},{"type":79,"tag":133,"props":2460,"children":2461},{"style":150},[2462],{"type":85,"value":1044},{"type":79,"tag":133,"props":2464,"children":2465},{"style":275},[2466],{"type":85,"value":314},{"type":79,"tag":133,"props":2468,"children":2469},{"class":135,"line":411},[2470,2474],{"type":79,"tag":133,"props":2471,"children":2472},{"style":275},[2473],{"type":85,"value":1056},{"type":79,"tag":133,"props":2475,"children":2476},{"style":275},[2477],{"type":85,"value":388},{"type":79,"tag":133,"props":2479,"children":2480},{"class":135,"line":420},[2481,2485],{"type":79,"tag":133,"props":2482,"children":2483},{"style":269},[2484],{"type":85,"value":1068},{"type":79,"tag":133,"props":2486,"children":2487},{"style":395},[2488],{"type":85,"value":1073},{"type":79,"tag":133,"props":2490,"children":2491},{"class":135,"line":453},[2492,2496,2501,2506,2511,2516,2520,2524,2528,2533],{"type":79,"tag":133,"props":2493,"children":2494},{"style":275},[2495],{"type":85,"value":1081},{"type":79,"tag":133,"props":2497,"children":2498},{"style":150},[2499],{"type":85,"value":2500},"AuthProvider",{"type":79,"tag":133,"props":2502,"children":2503},{"style":370},[2504],{"type":85,"value":2505}," projectId",{"type":79,"tag":133,"props":2507,"children":2508},{"style":275},[2509],{"type":85,"value":2510},"={",{"type":79,"tag":133,"props":2512,"children":2513},{"style":281},[2514],{"type":85,"value":2515},"process",{"type":79,"tag":133,"props":2517,"children":2518},{"style":275},[2519],{"type":85,"value":763},{"type":79,"tag":133,"props":2521,"children":2522},{"style":281},[2523],{"type":85,"value":1479},{"type":79,"tag":133,"props":2525,"children":2526},{"style":275},[2527],{"type":85,"value":763},{"type":79,"tag":133,"props":2529,"children":2530},{"style":281},[2531],{"type":85,"value":2532},"NEXT_PUBLIC_DESCOPE_PROJECT_ID",{"type":79,"tag":133,"props":2534,"children":2535},{"style":275},[2536],{"type":85,"value":2537},"!}>\n",{"type":79,"tag":133,"props":2539,"children":2540},{"class":135,"line":462},[2541,2545,2549,2553,2557,2561,2565,2569],{"type":79,"tag":133,"props":2542,"children":2543},{"style":275},[2544],{"type":85,"value":1099},{"type":79,"tag":133,"props":2546,"children":2547},{"style":395},[2548],{"type":85,"value":1104},{"type":79,"tag":133,"props":2550,"children":2551},{"style":370},[2552],{"type":85,"value":1109},{"type":79,"tag":133,"props":2554,"children":2555},{"style":275},[2556],{"type":85,"value":383},{"type":79,"tag":133,"props":2558,"children":2559},{"style":275},[2560],{"type":85,"value":309},{"type":79,"tag":133,"props":2562,"children":2563},{"style":156},[2564],{"type":85,"value":1122},{"type":79,"tag":133,"props":2566,"children":2567},{"style":275},[2568],{"type":85,"value":309},{"type":79,"tag":133,"props":2570,"children":2571},{"style":275},[2572],{"type":85,"value":1091},{"type":79,"tag":133,"props":2574,"children":2575},{"class":135,"line":483},[2576,2580,2584,2588,2592,2596,2600],{"type":79,"tag":133,"props":2577,"children":2578},{"style":275},[2579],{"type":85,"value":1138},{"type":79,"tag":133,"props":2581,"children":2582},{"style":395},[2583],{"type":85,"value":1143},{"type":79,"tag":133,"props":2585,"children":2586},{"style":275},[2587],{"type":85,"value":1148},{"type":79,"tag":133,"props":2589,"children":2590},{"style":281},[2591],{"type":85,"value":1153},{"type":79,"tag":133,"props":2593,"children":2594},{"style":275},[2595],{"type":85,"value":1158},{"type":79,"tag":133,"props":2597,"children":2598},{"style":395},[2599],{"type":85,"value":1143},{"type":79,"tag":133,"props":2601,"children":2602},{"style":275},[2603],{"type":85,"value":1091},{"type":79,"tag":133,"props":2605,"children":2606},{"class":135,"line":496},[2607,2611,2615],{"type":79,"tag":133,"props":2608,"children":2609},{"style":275},[2610],{"type":85,"value":1174},{"type":79,"tag":133,"props":2612,"children":2613},{"style":395},[2614],{"type":85,"value":1104},{"type":79,"tag":133,"props":2616,"children":2617},{"style":275},[2618],{"type":85,"value":1091},{"type":79,"tag":133,"props":2620,"children":2621},{"class":135,"line":1185},[2622,2626,2630],{"type":79,"tag":133,"props":2623,"children":2624},{"style":275},[2625],{"type":85,"value":1191},{"type":79,"tag":133,"props":2627,"children":2628},{"style":150},[2629],{"type":85,"value":2500},{"type":79,"tag":133,"props":2631,"children":2632},{"style":275},[2633],{"type":85,"value":1091},{"type":79,"tag":133,"props":2635,"children":2636},{"class":135,"line":1202},[2637,2641],{"type":79,"tag":133,"props":2638,"children":2639},{"style":395},[2640],{"type":85,"value":1208},{"type":79,"tag":133,"props":2642,"children":2643},{"style":275},[2644],{"type":85,"value":314},{"type":79,"tag":133,"props":2646,"children":2647},{"class":135,"line":1215},[2648],{"type":79,"tag":133,"props":2649,"children":2650},{"style":275},[2651],{"type":85,"value":1221},{"type":79,"tag":122,"props":2653,"children":2655},{"className":249,"code":2654,"language":251,"meta":127,"style":127},"\u002F\u002F middleware.ts\nimport { authMiddleware } from \"@descope\u002Fnextjs-sdk\u002Fserver\";\n\nexport default authMiddleware({\n  projectId: process.env.DESCOPE_PROJECT_ID!,\n  publicRoutes: [\"\u002F\", \"\u002Fsign-in\"],\n});\n",[2656],{"type":79,"tag":106,"props":2657,"children":2658},{"__ignoreMap":127},[2659,2666,2707,2714,2737,2776,2832],{"type":79,"tag":133,"props":2660,"children":2661},{"class":135,"line":136},[2662],{"type":79,"tag":133,"props":2663,"children":2664},{"style":140},[2665],{"type":85,"value":263},{"type":79,"tag":133,"props":2667,"children":2668},{"class":135,"line":146},[2669,2673,2677,2682,2686,2690,2694,2699,2703],{"type":79,"tag":133,"props":2670,"children":2671},{"style":269},[2672],{"type":85,"value":272},{"type":79,"tag":133,"props":2674,"children":2675},{"style":275},[2676],{"type":85,"value":278},{"type":79,"tag":133,"props":2678,"children":2679},{"style":281},[2680],{"type":85,"value":2681}," authMiddleware",{"type":79,"tag":133,"props":2683,"children":2684},{"style":275},[2685],{"type":85,"value":289},{"type":79,"tag":133,"props":2687,"children":2688},{"style":269},[2689],{"type":85,"value":294},{"type":79,"tag":133,"props":2691,"children":2692},{"style":275},[2693],{"type":85,"value":299},{"type":79,"tag":133,"props":2695,"children":2696},{"style":156},[2697],{"type":85,"value":2698},"@descope\u002Fnextjs-sdk\u002Fserver",{"type":79,"tag":133,"props":2700,"children":2701},{"style":275},[2702],{"type":85,"value":309},{"type":79,"tag":133,"props":2704,"children":2705},{"style":275},[2706],{"type":85,"value":314},{"type":79,"tag":133,"props":2708,"children":2709},{"class":135,"line":317},[2710],{"type":79,"tag":133,"props":2711,"children":2712},{"emptyLinePlaceholder":321},[2713],{"type":85,"value":324},{"type":79,"tag":133,"props":2715,"children":2716},{"class":135,"line":327},[2717,2721,2725,2729,2733],{"type":79,"tag":133,"props":2718,"children":2719},{"style":269},[2720],{"type":85,"value":333},{"type":79,"tag":133,"props":2722,"children":2723},{"style":269},[2724],{"type":85,"value":338},{"type":79,"tag":133,"props":2726,"children":2727},{"style":341},[2728],{"type":85,"value":2681},{"type":79,"tag":133,"props":2730,"children":2731},{"style":281},[2732],{"type":85,"value":671},{"type":79,"tag":133,"props":2734,"children":2735},{"style":275},[2736],{"type":85,"value":745},{"type":79,"tag":133,"props":2738,"children":2739},{"class":135,"line":355},[2740,2745,2749,2754,2758,2762,2766,2771],{"type":79,"tag":133,"props":2741,"children":2742},{"style":395},[2743],{"type":85,"value":2744},"  projectId",{"type":79,"tag":133,"props":2746,"children":2747},{"style":275},[2748],{"type":85,"value":403},{"type":79,"tag":133,"props":2750,"children":2751},{"style":281},[2752],{"type":85,"value":2753}," process",{"type":79,"tag":133,"props":2755,"children":2756},{"style":275},[2757],{"type":85,"value":763},{"type":79,"tag":133,"props":2759,"children":2760},{"style":281},[2761],{"type":85,"value":1479},{"type":79,"tag":133,"props":2763,"children":2764},{"style":275},[2765],{"type":85,"value":763},{"type":79,"tag":133,"props":2767,"children":2768},{"style":281},[2769],{"type":85,"value":2770},"DESCOPE_PROJECT_ID",{"type":79,"tag":133,"props":2772,"children":2773},{"style":275},[2774],{"type":85,"value":2775},"!,\n",{"type":79,"tag":133,"props":2777,"children":2778},{"class":135,"line":42},[2779,2784,2788,2793,2797,2802,2806,2810,2814,2819,2823,2828],{"type":79,"tag":133,"props":2780,"children":2781},{"style":395},[2782],{"type":85,"value":2783},"  publicRoutes",{"type":79,"tag":133,"props":2785,"children":2786},{"style":275},[2787],{"type":85,"value":403},{"type":79,"tag":133,"props":2789,"children":2790},{"style":281},[2791],{"type":85,"value":2792}," [",{"type":79,"tag":133,"props":2794,"children":2795},{"style":275},[2796],{"type":85,"value":309},{"type":79,"tag":133,"props":2798,"children":2799},{"style":156},[2800],{"type":85,"value":2801},"\u002F",{"type":79,"tag":133,"props":2803,"children":2804},{"style":275},[2805],{"type":85,"value":309},{"type":79,"tag":133,"props":2807,"children":2808},{"style":275},[2809],{"type":85,"value":543},{"type":79,"tag":133,"props":2811,"children":2812},{"style":275},[2813],{"type":85,"value":299},{"type":79,"tag":133,"props":2815,"children":2816},{"style":156},[2817],{"type":85,"value":2818},"\u002Fsign-in",{"type":79,"tag":133,"props":2820,"children":2821},{"style":275},[2822],{"type":85,"value":309},{"type":79,"tag":133,"props":2824,"children":2825},{"style":281},[2826],{"type":85,"value":2827},"]",{"type":79,"tag":133,"props":2829,"children":2830},{"style":275},[2831],{"type":85,"value":450},{"type":79,"tag":133,"props":2833,"children":2834},{"class":135,"line":391},[2835,2839,2843],{"type":79,"tag":133,"props":2836,"children":2837},{"style":275},[2838],{"type":85,"value":792},{"type":79,"tag":133,"props":2840,"children":2841},{"style":281},[2842],{"type":85,"value":700},{"type":79,"tag":133,"props":2844,"children":2845},{"style":275},[2846],{"type":85,"value":314},{"type":79,"tag":115,"props":2848,"children":2850},{"id":2849},"sign-in-flow",[2851],{"type":85,"value":2852},"Sign-In Flow",{"type":79,"tag":122,"props":2854,"children":2856},{"className":908,"code":2855,"language":910,"meta":127,"style":127},"\"use client\";\nimport { Descope } from \"@descope\u002Fnextjs-sdk\";\n\nexport default function SignInPage() {\n  return \u003CDescope flowId=\"sign-up-or-in\" \u002F>;\n}\n",[2857],{"type":79,"tag":106,"props":2858,"children":2859},{"__ignoreMap":127},[2860,2879,2919,2926,2954,2995],{"type":79,"tag":133,"props":2861,"children":2862},{"class":135,"line":136},[2863,2867,2871,2875],{"type":79,"tag":133,"props":2864,"children":2865},{"style":275},[2866],{"type":85,"value":309},{"type":79,"tag":133,"props":2868,"children":2869},{"style":156},[2870],{"type":85,"value":1726},{"type":79,"tag":133,"props":2872,"children":2873},{"style":275},[2874],{"type":85,"value":309},{"type":79,"tag":133,"props":2876,"children":2877},{"style":275},[2878],{"type":85,"value":314},{"type":79,"tag":133,"props":2880,"children":2881},{"class":135,"line":146},[2882,2886,2890,2895,2899,2903,2907,2911,2915],{"type":79,"tag":133,"props":2883,"children":2884},{"style":269},[2885],{"type":85,"value":272},{"type":79,"tag":133,"props":2887,"children":2888},{"style":275},[2889],{"type":85,"value":278},{"type":79,"tag":133,"props":2891,"children":2892},{"style":281},[2893],{"type":85,"value":2894}," Descope",{"type":79,"tag":133,"props":2896,"children":2897},{"style":275},[2898],{"type":85,"value":289},{"type":79,"tag":133,"props":2900,"children":2901},{"style":269},[2902],{"type":85,"value":294},{"type":79,"tag":133,"props":2904,"children":2905},{"style":275},[2906],{"type":85,"value":299},{"type":79,"tag":133,"props":2908,"children":2909},{"style":156},[2910],{"type":85,"value":2379},{"type":79,"tag":133,"props":2912,"children":2913},{"style":275},[2914],{"type":85,"value":309},{"type":79,"tag":133,"props":2916,"children":2917},{"style":275},[2918],{"type":85,"value":314},{"type":79,"tag":133,"props":2920,"children":2921},{"class":135,"line":317},[2922],{"type":79,"tag":133,"props":2923,"children":2924},{"emptyLinePlaceholder":321},[2925],{"type":85,"value":324},{"type":79,"tag":133,"props":2927,"children":2928},{"class":135,"line":327},[2929,2933,2937,2941,2946,2950],{"type":79,"tag":133,"props":2930,"children":2931},{"style":269},[2932],{"type":85,"value":333},{"type":79,"tag":133,"props":2934,"children":2935},{"style":269},[2936],{"type":85,"value":338},{"type":79,"tag":133,"props":2938,"children":2939},{"style":370},[2940],{"type":85,"value":985},{"type":79,"tag":133,"props":2942,"children":2943},{"style":341},[2944],{"type":85,"value":2945}," SignInPage",{"type":79,"tag":133,"props":2947,"children":2948},{"style":275},[2949],{"type":85,"value":348},{"type":79,"tag":133,"props":2951,"children":2952},{"style":275},[2953],{"type":85,"value":388},{"type":79,"tag":133,"props":2955,"children":2956},{"class":135,"line":355},[2957,2961,2965,2969,2974,2978,2982,2987,2991],{"type":79,"tag":133,"props":2958,"children":2959},{"style":269},[2960],{"type":85,"value":1068},{"type":79,"tag":133,"props":2962,"children":2963},{"style":275},[2964],{"type":85,"value":1329},{"type":79,"tag":133,"props":2966,"children":2967},{"style":150},[2968],{"type":85,"value":2261},{"type":79,"tag":133,"props":2970,"children":2971},{"style":370},[2972],{"type":85,"value":2973}," flowId",{"type":79,"tag":133,"props":2975,"children":2976},{"style":275},[2977],{"type":85,"value":383},{"type":79,"tag":133,"props":2979,"children":2980},{"style":275},[2981],{"type":85,"value":309},{"type":79,"tag":133,"props":2983,"children":2984},{"style":156},[2985],{"type":85,"value":2986},"sign-up-or-in",{"type":79,"tag":133,"props":2988,"children":2989},{"style":275},[2990],{"type":85,"value":309},{"type":79,"tag":133,"props":2992,"children":2993},{"style":275},[2994],{"type":85,"value":1339},{"type":79,"tag":133,"props":2996,"children":2997},{"class":135,"line":42},[2998],{"type":79,"tag":133,"props":2999,"children":3000},{"style":275},[3001],{"type":85,"value":1221},{"type":79,"tag":94,"props":3003,"children":3004},{"id":21},[3005],{"type":85,"value":20},{"type":79,"tag":88,"props":3007,"children":3008},{},[3009],{"type":85,"value":3010},"Auth0 provides a mature authentication platform with extensive identity provider support.",{"type":79,"tag":115,"props":3012,"children":3014},{"id":3013},"sdk-setup-2",[3015],{"type":85,"value":207},{"type":79,"tag":122,"props":3017,"children":3019},{"className":124,"code":3018,"language":126,"meta":127,"style":127},"npm install @auth0\u002Fnextjs-auth0\n",[3020],{"type":79,"tag":106,"props":3021,"children":3022},{"__ignoreMap":127},[3023],{"type":79,"tag":133,"props":3024,"children":3025},{"class":135,"line":136},[3026,3030,3034],{"type":79,"tag":133,"props":3027,"children":3028},{"style":150},[3029],{"type":85,"value":230},{"type":79,"tag":133,"props":3031,"children":3032},{"style":156},[3033],{"type":85,"value":235},{"type":79,"tag":133,"props":3035,"children":3036},{"style":156},[3037],{"type":85,"value":3038}," @auth0\u002Fnextjs-auth0\n",{"type":79,"tag":115,"props":3040,"children":3042},{"id":3041},"configuration",[3043],{"type":85,"value":3044},"Configuration",{"type":79,"tag":122,"props":3046,"children":3048},{"className":249,"code":3047,"language":251,"meta":127,"style":127},"\u002F\u002F lib\u002Fauth0.ts\nimport { Auth0Client } from \"@auth0\u002Fnextjs-auth0\u002Fserver\";\n\nexport const auth0 = new Auth0Client();\n",[3049],{"type":79,"tag":106,"props":3050,"children":3051},{"__ignoreMap":127},[3052,3060,3101,3108],{"type":79,"tag":133,"props":3053,"children":3054},{"class":135,"line":136},[3055],{"type":79,"tag":133,"props":3056,"children":3057},{"style":140},[3058],{"type":85,"value":3059},"\u002F\u002F lib\u002Fauth0.ts\n",{"type":79,"tag":133,"props":3061,"children":3062},{"class":135,"line":146},[3063,3067,3071,3076,3080,3084,3088,3093,3097],{"type":79,"tag":133,"props":3064,"children":3065},{"style":269},[3066],{"type":85,"value":272},{"type":79,"tag":133,"props":3068,"children":3069},{"style":275},[3070],{"type":85,"value":278},{"type":79,"tag":133,"props":3072,"children":3073},{"style":281},[3074],{"type":85,"value":3075}," Auth0Client",{"type":79,"tag":133,"props":3077,"children":3078},{"style":275},[3079],{"type":85,"value":289},{"type":79,"tag":133,"props":3081,"children":3082},{"style":269},[3083],{"type":85,"value":294},{"type":79,"tag":133,"props":3085,"children":3086},{"style":275},[3087],{"type":85,"value":299},{"type":79,"tag":133,"props":3089,"children":3090},{"style":156},[3091],{"type":85,"value":3092},"@auth0\u002Fnextjs-auth0\u002Fserver",{"type":79,"tag":133,"props":3094,"children":3095},{"style":275},[3096],{"type":85,"value":309},{"type":79,"tag":133,"props":3098,"children":3099},{"style":275},[3100],{"type":85,"value":314},{"type":79,"tag":133,"props":3102,"children":3103},{"class":135,"line":317},[3104],{"type":79,"tag":133,"props":3105,"children":3106},{"emptyLinePlaceholder":321},[3107],{"type":85,"value":324},{"type":79,"tag":133,"props":3109,"children":3110},{"class":135,"line":327},[3111,3115,3119,3124,3128,3133,3137,3141],{"type":79,"tag":133,"props":3112,"children":3113},{"style":269},[3114],{"type":85,"value":333},{"type":79,"tag":133,"props":3116,"children":3117},{"style":370},[3118],{"type":85,"value":373},{"type":79,"tag":133,"props":3120,"children":3121},{"style":281},[3122],{"type":85,"value":3123}," auth0 ",{"type":79,"tag":133,"props":3125,"children":3126},{"style":275},[3127],{"type":85,"value":383},{"type":79,"tag":133,"props":3129,"children":3130},{"style":275},[3131],{"type":85,"value":3132}," new",{"type":79,"tag":133,"props":3134,"children":3135},{"style":341},[3136],{"type":85,"value":3075},{"type":79,"tag":133,"props":3138,"children":3139},{"style":281},[3140],{"type":85,"value":348},{"type":79,"tag":133,"props":3142,"children":3143},{"style":275},[3144],{"type":85,"value":314},{"type":79,"tag":88,"props":3146,"children":3147},{},[3148],{"type":85,"value":3149},"Required environment variables:",{"type":79,"tag":122,"props":3151,"children":3153},{"className":1477,"code":3152,"language":1479,"meta":127,"style":127},"AUTH0_SECRET=\u003Crandom-secret>\nAUTH0_BASE_URL=http:\u002F\u002Flocalhost:3000\nAUTH0_ISSUER_BASE_URL=https:\u002F\u002Fyour-tenant.auth0.com\nAUTH0_CLIENT_ID=\u003Cclient-id>\nAUTH0_CLIENT_SECRET=\u003Cclient-secret>\n",[3154],{"type":79,"tag":106,"props":3155,"children":3156},{"__ignoreMap":127},[3157,3165,3173,3181,3189],{"type":79,"tag":133,"props":3158,"children":3159},{"class":135,"line":136},[3160],{"type":79,"tag":133,"props":3161,"children":3162},{},[3163],{"type":85,"value":3164},"AUTH0_SECRET=\u003Crandom-secret>\n",{"type":79,"tag":133,"props":3166,"children":3167},{"class":135,"line":146},[3168],{"type":79,"tag":133,"props":3169,"children":3170},{},[3171],{"type":85,"value":3172},"AUTH0_BASE_URL=http:\u002F\u002Flocalhost:3000\n",{"type":79,"tag":133,"props":3174,"children":3175},{"class":135,"line":317},[3176],{"type":79,"tag":133,"props":3177,"children":3178},{},[3179],{"type":85,"value":3180},"AUTH0_ISSUER_BASE_URL=https:\u002F\u002Fyour-tenant.auth0.com\n",{"type":79,"tag":133,"props":3182,"children":3183},{"class":135,"line":327},[3184],{"type":79,"tag":133,"props":3185,"children":3186},{},[3187],{"type":85,"value":3188},"AUTH0_CLIENT_ID=\u003Cclient-id>\n",{"type":79,"tag":133,"props":3190,"children":3191},{"class":135,"line":355},[3192],{"type":79,"tag":133,"props":3193,"children":3194},{},[3195],{"type":85,"value":3196},"AUTH0_CLIENT_SECRET=\u003Cclient-secret>\n",{"type":79,"tag":115,"props":3198,"children":3200},{"id":3199},"middleware",[3201],{"type":85,"value":3202},"Middleware",{"type":79,"tag":122,"props":3204,"children":3206},{"className":249,"code":3205,"language":251,"meta":127,"style":127},"\u002F\u002F middleware.ts\nimport { auth0 } from \"@\u002Flib\u002Fauth0\";\nimport { NextRequest, NextResponse } from \"next\u002Fserver\";\n\nexport async function middleware(request: NextRequest) {\n  return await auth0.middleware(request);\n}\n\nexport const config = {\n  matcher: [\n    \"\u002F((?!_next\u002Fstatic|_next\u002Fimage|favicon.ico|sitemap.xml|robots.txt).*)\",\n  ],\n};\n",[3207],{"type":79,"tag":106,"props":3208,"children":3209},{"__ignoreMap":127},[3210,3217,3258,3308,3315,3360,3399,3406,3413,3436,3451,3471,3482],{"type":79,"tag":133,"props":3211,"children":3212},{"class":135,"line":136},[3213],{"type":79,"tag":133,"props":3214,"children":3215},{"style":140},[3216],{"type":85,"value":263},{"type":79,"tag":133,"props":3218,"children":3219},{"class":135,"line":146},[3220,3224,3228,3233,3237,3241,3245,3250,3254],{"type":79,"tag":133,"props":3221,"children":3222},{"style":269},[3223],{"type":85,"value":272},{"type":79,"tag":133,"props":3225,"children":3226},{"style":275},[3227],{"type":85,"value":278},{"type":79,"tag":133,"props":3229,"children":3230},{"style":281},[3231],{"type":85,"value":3232}," auth0",{"type":79,"tag":133,"props":3234,"children":3235},{"style":275},[3236],{"type":85,"value":289},{"type":79,"tag":133,"props":3238,"children":3239},{"style":269},[3240],{"type":85,"value":294},{"type":79,"tag":133,"props":3242,"children":3243},{"style":275},[3244],{"type":85,"value":299},{"type":79,"tag":133,"props":3246,"children":3247},{"style":156},[3248],{"type":85,"value":3249},"@\u002Flib\u002Fauth0",{"type":79,"tag":133,"props":3251,"children":3252},{"style":275},[3253],{"type":85,"value":309},{"type":79,"tag":133,"props":3255,"children":3256},{"style":275},[3257],{"type":85,"value":314},{"type":79,"tag":133,"props":3259,"children":3260},{"class":135,"line":317},[3261,3265,3269,3274,3278,3283,3287,3291,3295,3300,3304],{"type":79,"tag":133,"props":3262,"children":3263},{"style":269},[3264],{"type":85,"value":272},{"type":79,"tag":133,"props":3266,"children":3267},{"style":275},[3268],{"type":85,"value":278},{"type":79,"tag":133,"props":3270,"children":3271},{"style":281},[3272],{"type":85,"value":3273}," NextRequest",{"type":79,"tag":133,"props":3275,"children":3276},{"style":275},[3277],{"type":85,"value":543},{"type":79,"tag":133,"props":3279,"children":3280},{"style":281},[3281],{"type":85,"value":3282}," NextResponse",{"type":79,"tag":133,"props":3284,"children":3285},{"style":275},[3286],{"type":85,"value":289},{"type":79,"tag":133,"props":3288,"children":3289},{"style":269},[3290],{"type":85,"value":294},{"type":79,"tag":133,"props":3292,"children":3293},{"style":275},[3294],{"type":85,"value":299},{"type":79,"tag":133,"props":3296,"children":3297},{"style":156},[3298],{"type":85,"value":3299},"next\u002Fserver",{"type":79,"tag":133,"props":3301,"children":3302},{"style":275},[3303],{"type":85,"value":309},{"type":79,"tag":133,"props":3305,"children":3306},{"style":275},[3307],{"type":85,"value":314},{"type":79,"tag":133,"props":3309,"children":3310},{"class":135,"line":327},[3311],{"type":79,"tag":133,"props":3312,"children":3313},{"emptyLinePlaceholder":321},[3314],{"type":85,"value":324},{"type":79,"tag":133,"props":3316,"children":3317},{"class":135,"line":355},[3318,3322,3326,3330,3335,3339,3344,3348,3352,3356],{"type":79,"tag":133,"props":3319,"children":3320},{"style":269},[3321],{"type":85,"value":333},{"type":79,"tag":133,"props":3323,"children":3324},{"style":370},[3325],{"type":85,"value":1583},{"type":79,"tag":133,"props":3327,"children":3328},{"style":370},[3329],{"type":85,"value":985},{"type":79,"tag":133,"props":3331,"children":3332},{"style":341},[3333],{"type":85,"value":3334}," middleware",{"type":79,"tag":133,"props":3336,"children":3337},{"style":275},[3338],{"type":85,"value":671},{"type":79,"tag":133,"props":3340,"children":3341},{"style":684},[3342],{"type":85,"value":3343},"request",{"type":79,"tag":133,"props":3345,"children":3346},{"style":275},[3347],{"type":85,"value":403},{"type":79,"tag":133,"props":3349,"children":3350},{"style":150},[3351],{"type":85,"value":3273},{"type":79,"tag":133,"props":3353,"children":3354},{"style":275},[3355],{"type":85,"value":700},{"type":79,"tag":133,"props":3357,"children":3358},{"style":275},[3359],{"type":85,"value":388},{"type":79,"tag":133,"props":3361,"children":3362},{"class":135,"line":42},[3363,3367,3371,3375,3379,3383,3387,3391,3395],{"type":79,"tag":133,"props":3364,"children":3365},{"style":269},[3366],{"type":85,"value":1068},{"type":79,"tag":133,"props":3368,"children":3369},{"style":269},[3370],{"type":85,"value":1622},{"type":79,"tag":133,"props":3372,"children":3373},{"style":281},[3374],{"type":85,"value":3232},{"type":79,"tag":133,"props":3376,"children":3377},{"style":275},[3378],{"type":85,"value":763},{"type":79,"tag":133,"props":3380,"children":3381},{"style":341},[3382],{"type":85,"value":3199},{"type":79,"tag":133,"props":3384,"children":3385},{"style":395},[3386],{"type":85,"value":671},{"type":79,"tag":133,"props":3388,"children":3389},{"style":281},[3390],{"type":85,"value":3343},{"type":79,"tag":133,"props":3392,"children":3393},{"style":395},[3394],{"type":85,"value":700},{"type":79,"tag":133,"props":3396,"children":3397},{"style":275},[3398],{"type":85,"value":314},{"type":79,"tag":133,"props":3400,"children":3401},{"class":135,"line":391},[3402],{"type":79,"tag":133,"props":3403,"children":3404},{"style":275},[3405],{"type":85,"value":1221},{"type":79,"tag":133,"props":3407,"children":3408},{"class":135,"line":411},[3409],{"type":79,"tag":133,"props":3410,"children":3411},{"emptyLinePlaceholder":321},[3412],{"type":85,"value":324},{"type":79,"tag":133,"props":3414,"children":3415},{"class":135,"line":420},[3416,3420,3424,3428,3432],{"type":79,"tag":133,"props":3417,"children":3418},{"style":269},[3419],{"type":85,"value":333},{"type":79,"tag":133,"props":3421,"children":3422},{"style":370},[3423],{"type":85,"value":373},{"type":79,"tag":133,"props":3425,"children":3426},{"style":281},[3427],{"type":85,"value":378},{"type":79,"tag":133,"props":3429,"children":3430},{"style":275},[3431],{"type":85,"value":383},{"type":79,"tag":133,"props":3433,"children":3434},{"style":275},[3435],{"type":85,"value":388},{"type":79,"tag":133,"props":3437,"children":3438},{"class":135,"line":453},[3439,3443,3447],{"type":79,"tag":133,"props":3440,"children":3441},{"style":395},[3442],{"type":85,"value":398},{"type":79,"tag":133,"props":3444,"children":3445},{"style":275},[3446],{"type":85,"value":403},{"type":79,"tag":133,"props":3448,"children":3449},{"style":281},[3450],{"type":85,"value":408},{"type":79,"tag":133,"props":3452,"children":3453},{"class":135,"line":462},[3454,3458,3463,3467],{"type":79,"tag":133,"props":3455,"children":3456},{"style":275},[3457],{"type":85,"value":426},{"type":79,"tag":133,"props":3459,"children":3460},{"style":156},[3461],{"type":85,"value":3462},"\u002F((?!_next\u002Fstatic|_next\u002Fimage|favicon.ico|sitemap.xml|robots.txt).*)",{"type":79,"tag":133,"props":3464,"children":3465},{"style":275},[3466],{"type":85,"value":309},{"type":79,"tag":133,"props":3468,"children":3469},{"style":275},[3470],{"type":85,"value":450},{"type":79,"tag":133,"props":3472,"children":3473},{"class":135,"line":483},[3474,3478],{"type":79,"tag":133,"props":3475,"children":3476},{"style":281},[3477],{"type":85,"value":489},{"type":79,"tag":133,"props":3479,"children":3480},{"style":275},[3481],{"type":85,"value":450},{"type":79,"tag":133,"props":3483,"children":3484},{"class":135,"line":496},[3485],{"type":79,"tag":133,"props":3486,"children":3487},{"style":275},[3488],{"type":85,"value":502},{"type":79,"tag":115,"props":3490,"children":3492},{"id":3491},"access-session-data",[3493],{"type":85,"value":3494},"Access Session Data",{"type":79,"tag":122,"props":3496,"children":3498},{"className":908,"code":3497,"language":910,"meta":127,"style":127},"\u002F\u002F Server component\nimport { auth0 } from \"@\u002Flib\u002Fauth0\";\n\nexport default async function Page() {\n  const session = await auth0.getSession();\n  return session ? (\n    \u003Cp>Hello, {session.user.name}\u003C\u002Fp>\n  ) : (\n    \u003Ca href=\"\u002Fauth\u002Flogin\">Log in\u003C\u002Fa>\n  );\n}\n",[3499],{"type":79,"tag":106,"props":3500,"children":3501},{"__ignoreMap":127},[3502,3509,3548,3555,3586,3627,3647,3704,3720,3776,3787],{"type":79,"tag":133,"props":3503,"children":3504},{"class":135,"line":136},[3505],{"type":79,"tag":133,"props":3506,"children":3507},{"style":140},[3508],{"type":85,"value":1520},{"type":79,"tag":133,"props":3510,"children":3511},{"class":135,"line":146},[3512,3516,3520,3524,3528,3532,3536,3540,3544],{"type":79,"tag":133,"props":3513,"children":3514},{"style":269},[3515],{"type":85,"value":272},{"type":79,"tag":133,"props":3517,"children":3518},{"style":275},[3519],{"type":85,"value":278},{"type":79,"tag":133,"props":3521,"children":3522},{"style":281},[3523],{"type":85,"value":3232},{"type":79,"tag":133,"props":3525,"children":3526},{"style":275},[3527],{"type":85,"value":289},{"type":79,"tag":133,"props":3529,"children":3530},{"style":269},[3531],{"type":85,"value":294},{"type":79,"tag":133,"props":3533,"children":3534},{"style":275},[3535],{"type":85,"value":299},{"type":79,"tag":133,"props":3537,"children":3538},{"style":156},[3539],{"type":85,"value":3249},{"type":79,"tag":133,"props":3541,"children":3542},{"style":275},[3543],{"type":85,"value":309},{"type":79,"tag":133,"props":3545,"children":3546},{"style":275},[3547],{"type":85,"value":314},{"type":79,"tag":133,"props":3549,"children":3550},{"class":135,"line":317},[3551],{"type":79,"tag":133,"props":3552,"children":3553},{"emptyLinePlaceholder":321},[3554],{"type":85,"value":324},{"type":79,"tag":133,"props":3556,"children":3557},{"class":135,"line":327},[3558,3562,3566,3570,3574,3578,3582],{"type":79,"tag":133,"props":3559,"children":3560},{"style":269},[3561],{"type":85,"value":333},{"type":79,"tag":133,"props":3563,"children":3564},{"style":269},[3565],{"type":85,"value":338},{"type":79,"tag":133,"props":3567,"children":3568},{"style":370},[3569],{"type":85,"value":1583},{"type":79,"tag":133,"props":3571,"children":3572},{"style":370},[3573],{"type":85,"value":985},{"type":79,"tag":133,"props":3575,"children":3576},{"style":341},[3577],{"type":85,"value":1309},{"type":79,"tag":133,"props":3579,"children":3580},{"style":275},[3581],{"type":85,"value":348},{"type":79,"tag":133,"props":3583,"children":3584},{"style":275},[3585],{"type":85,"value":388},{"type":79,"tag":133,"props":3587,"children":3588},{"class":135,"line":355},[3589,3593,3598,3602,3606,3610,3614,3619,3623],{"type":79,"tag":133,"props":3590,"children":3591},{"style":370},[3592],{"type":85,"value":1607},{"type":79,"tag":133,"props":3594,"children":3595},{"style":281},[3596],{"type":85,"value":3597}," session",{"type":79,"tag":133,"props":3599,"children":3600},{"style":275},[3601],{"type":85,"value":1617},{"type":79,"tag":133,"props":3603,"children":3604},{"style":269},[3605],{"type":85,"value":1622},{"type":79,"tag":133,"props":3607,"children":3608},{"style":281},[3609],{"type":85,"value":3232},{"type":79,"tag":133,"props":3611,"children":3612},{"style":275},[3613],{"type":85,"value":763},{"type":79,"tag":133,"props":3615,"children":3616},{"style":341},[3617],{"type":85,"value":3618},"getSession",{"type":79,"tag":133,"props":3620,"children":3621},{"style":395},[3622],{"type":85,"value":348},{"type":79,"tag":133,"props":3624,"children":3625},{"style":275},[3626],{"type":85,"value":314},{"type":79,"tag":133,"props":3628,"children":3629},{"class":135,"line":42},[3630,3634,3638,3643],{"type":79,"tag":133,"props":3631,"children":3632},{"style":269},[3633],{"type":85,"value":1068},{"type":79,"tag":133,"props":3635,"children":3636},{"style":281},[3637],{"type":85,"value":3597},{"type":79,"tag":133,"props":3639,"children":3640},{"style":275},[3641],{"type":85,"value":3642}," ?",{"type":79,"tag":133,"props":3644,"children":3645},{"style":395},[3646],{"type":85,"value":1073},{"type":79,"tag":133,"props":3648,"children":3649},{"class":135,"line":391},[3650,3654,3658,3662,3666,3670,3675,3679,3683,3687,3692,3696,3700],{"type":79,"tag":133,"props":3651,"children":3652},{"style":275},[3653],{"type":85,"value":1081},{"type":79,"tag":133,"props":3655,"children":3656},{"style":395},[3657],{"type":85,"value":88},{"type":79,"tag":133,"props":3659,"children":3660},{"style":275},[3661],{"type":85,"value":1654},{"type":79,"tag":133,"props":3663,"children":3664},{"style":281},[3665],{"type":85,"value":1659},{"type":79,"tag":133,"props":3667,"children":3668},{"style":275},[3669],{"type":85,"value":1664},{"type":79,"tag":133,"props":3671,"children":3672},{"style":281},[3673],{"type":85,"value":3674},"session",{"type":79,"tag":133,"props":3676,"children":3677},{"style":275},[3678],{"type":85,"value":763},{"type":79,"tag":133,"props":3680,"children":3681},{"style":281},[3682],{"type":85,"value":1669},{"type":79,"tag":133,"props":3684,"children":3685},{"style":275},[3686],{"type":85,"value":763},{"type":79,"tag":133,"props":3688,"children":3689},{"style":281},[3690],{"type":85,"value":3691},"name",{"type":79,"tag":133,"props":3693,"children":3694},{"style":275},[3695],{"type":85,"value":1158},{"type":79,"tag":133,"props":3697,"children":3698},{"style":395},[3699],{"type":85,"value":88},{"type":79,"tag":133,"props":3701,"children":3702},{"style":275},[3703],{"type":85,"value":1091},{"type":79,"tag":133,"props":3705,"children":3706},{"class":135,"line":411},[3707,3712,3716],{"type":79,"tag":133,"props":3708,"children":3709},{"style":395},[3710],{"type":85,"value":3711},"  ) ",{"type":79,"tag":133,"props":3713,"children":3714},{"style":275},[3715],{"type":85,"value":403},{"type":79,"tag":133,"props":3717,"children":3718},{"style":395},[3719],{"type":85,"value":1073},{"type":79,"tag":133,"props":3721,"children":3722},{"class":135,"line":420},[3723,3727,3732,3737,3741,3745,3750,3754,3758,3763,3768,3772],{"type":79,"tag":133,"props":3724,"children":3725},{"style":275},[3726],{"type":85,"value":1081},{"type":79,"tag":133,"props":3728,"children":3729},{"style":395},[3730],{"type":85,"value":3731},"a",{"type":79,"tag":133,"props":3733,"children":3734},{"style":370},[3735],{"type":85,"value":3736}," href",{"type":79,"tag":133,"props":3738,"children":3739},{"style":275},[3740],{"type":85,"value":383},{"type":79,"tag":133,"props":3742,"children":3743},{"style":275},[3744],{"type":85,"value":309},{"type":79,"tag":133,"props":3746,"children":3747},{"style":156},[3748],{"type":85,"value":3749},"\u002Fauth\u002Flogin",{"type":79,"tag":133,"props":3751,"children":3752},{"style":275},[3753],{"type":85,"value":309},{"type":79,"tag":133,"props":3755,"children":3756},{"style":275},[3757],{"type":85,"value":1654},{"type":79,"tag":133,"props":3759,"children":3760},{"style":281},[3761],{"type":85,"value":3762},"Log in",{"type":79,"tag":133,"props":3764,"children":3765},{"style":275},[3766],{"type":85,"value":3767},"\u003C\u002F",{"type":79,"tag":133,"props":3769,"children":3770},{"style":395},[3771],{"type":85,"value":3731},{"type":79,"tag":133,"props":3773,"children":3774},{"style":275},[3775],{"type":85,"value":1091},{"type":79,"tag":133,"props":3777,"children":3778},{"class":135,"line":453},[3779,3783],{"type":79,"tag":133,"props":3780,"children":3781},{"style":395},[3782],{"type":85,"value":1208},{"type":79,"tag":133,"props":3784,"children":3785},{"style":275},[3786],{"type":85,"value":314},{"type":79,"tag":133,"props":3788,"children":3789},{"class":135,"line":462},[3790],{"type":79,"tag":133,"props":3791,"children":3792},{"style":275},[3793],{"type":85,"value":1221},{"type":79,"tag":94,"props":3795,"children":3797},{"id":3796},"decision-matrix",[3798],{"type":85,"value":3799},"Decision Matrix",{"type":79,"tag":3801,"props":3802,"children":3803},"table",{},[3804,3828],{"type":79,"tag":3805,"props":3806,"children":3807},"thead",{},[3808],{"type":79,"tag":3809,"props":3810,"children":3811},"tr",{},[3812,3818,3823],{"type":79,"tag":3813,"props":3814,"children":3815},"th",{},[3816],{"type":85,"value":3817},"Need",{"type":79,"tag":3813,"props":3819,"children":3820},{},[3821],{"type":85,"value":3822},"Recommended",{"type":79,"tag":3813,"props":3824,"children":3825},{},[3826],{"type":85,"value":3827},"Why",{"type":79,"tag":3829,"props":3830,"children":3831},"tbody",{},[3832,3850,3867,3884,3915],{"type":79,"tag":3809,"props":3833,"children":3834},{},[3835,3841,3845],{"type":79,"tag":3836,"props":3837,"children":3838},"td",{},[3839],{"type":85,"value":3840},"Fastest setup on Vercel",{"type":79,"tag":3836,"props":3842,"children":3843},{},[3844],{"type":85,"value":13},{"type":79,"tag":3836,"props":3846,"children":3847},{},[3848],{"type":85,"value":3849},"Native Marketplace, auto-provisioned env vars",{"type":79,"tag":3809,"props":3851,"children":3852},{},[3853,3858,3862],{"type":79,"tag":3836,"props":3854,"children":3855},{},[3856],{"type":85,"value":3857},"Passwordless \u002F social login flows",{"type":79,"tag":3836,"props":3859,"children":3860},{},[3861],{"type":85,"value":2261},{"type":79,"tag":3836,"props":3863,"children":3864},{},[3865],{"type":85,"value":3866},"Visual flow builder, Marketplace native",{"type":79,"tag":3809,"props":3868,"children":3869},{},[3870,3875,3879],{"type":79,"tag":3836,"props":3871,"children":3872},{},[3873],{"type":85,"value":3874},"Enterprise SSO \u002F SAML \u002F multi-tenant",{"type":79,"tag":3836,"props":3876,"children":3877},{},[3878],{"type":85,"value":20},{"type":79,"tag":3836,"props":3880,"children":3881},{},[3882],{"type":85,"value":3883},"Deep enterprise identity support",{"type":79,"tag":3809,"props":3885,"children":3886},{},[3887,3892,3896],{"type":79,"tag":3836,"props":3888,"children":3889},{},[3890],{"type":85,"value":3891},"Pre-built UI components",{"type":79,"tag":3836,"props":3893,"children":3894},{},[3895],{"type":85,"value":13},{"type":79,"tag":3836,"props":3897,"children":3898},{},[3899,3901,3907,3909],{"type":85,"value":3900},"Drop-in ",{"type":79,"tag":106,"props":3902,"children":3904},{"className":3903},[],[3905],{"type":85,"value":3906},"\u003CSignIn \u002F>",{"type":85,"value":3908},", ",{"type":79,"tag":106,"props":3910,"children":3912},{"className":3911},[],[3913],{"type":85,"value":3914},"\u003CUserButton \u002F>",{"type":79,"tag":3809,"props":3916,"children":3917},{},[3918,3923,3928],{"type":79,"tag":3836,"props":3919,"children":3920},{},[3921],{"type":85,"value":3922},"Vercel unified billing",{"type":79,"tag":3836,"props":3924,"children":3925},{},[3926],{"type":85,"value":3927},"Clerk or Descope",{"type":79,"tag":3836,"props":3929,"children":3930},{},[3931],{"type":85,"value":3932},"Both are native Marketplace integrations",{"type":79,"tag":94,"props":3934,"children":3936},{"id":3935},"clerk-core-3-breaking-changes-march-2026",[3937],{"type":85,"value":3938},"Clerk Core 3 Breaking Changes (March 2026)",{"type":79,"tag":88,"props":3940,"children":3941},{},[3942,3944,3950,3952,3958],{"type":85,"value":3943},"Clerk provides an upgrade CLI that scans your codebase and applies codemods: ",{"type":79,"tag":106,"props":3945,"children":3947},{"className":3946},[],[3948],{"type":85,"value":3949},"npx @clerk\u002Fupgrade",{"type":85,"value":3951},". Requires ",{"type":79,"tag":3953,"props":3954,"children":3955},"strong",{},[3956],{"type":85,"value":3957},"Node.js 20.9.0+",{"type":85,"value":763},{"type":79,"tag":176,"props":3960,"children":3961},{},[3962,3986,4015,4037,4059,4083,4106,4138,4156,4166],{"type":79,"tag":180,"props":3963,"children":3964},{},[3965,3976,3978,3984],{"type":79,"tag":3953,"props":3966,"children":3967},{},[3968,3974],{"type":79,"tag":106,"props":3969,"children":3971},{"className":3970},[],[3972],{"type":85,"value":3973},"auth()",{"type":85,"value":3975}," is async",{"type":85,"value":3977}," — always use ",{"type":79,"tag":106,"props":3979,"children":3981},{"className":3980},[],[3982],{"type":85,"value":3983},"const { userId } = await auth()",{"type":85,"value":3985},", not synchronous",{"type":79,"tag":180,"props":3987,"children":3988},{},[3989,4000,4002,4008,4010],{"type":79,"tag":3953,"props":3990,"children":3991},{},[3992,3998],{"type":79,"tag":106,"props":3993,"children":3995},{"className":3994},[],[3996],{"type":85,"value":3997},"auth.protect()",{"type":85,"value":3999}," moved",{"type":85,"value":4001}," — use ",{"type":79,"tag":106,"props":4003,"children":4005},{"className":4004},[],[4006],{"type":85,"value":4007},"await auth.protect()",{"type":85,"value":4009}," directly, not from the return value of ",{"type":79,"tag":106,"props":4011,"children":4013},{"className":4012},[],[4014],{"type":85,"value":3973},{"type":79,"tag":180,"props":4016,"children":4017},{},[4018,4028,4029,4035],{"type":79,"tag":3953,"props":4019,"children":4020},{},[4021,4027],{"type":79,"tag":106,"props":4022,"children":4024},{"className":4023},[],[4025],{"type":85,"value":4026},"clerkClient()",{"type":85,"value":3975},{"type":85,"value":4001},{"type":79,"tag":106,"props":4030,"children":4032},{"className":4031},[],[4033],{"type":85,"value":4034},"await clerkClient()",{"type":85,"value":4036}," in middleware handlers",{"type":79,"tag":180,"props":4038,"children":4039},{},[4040,4051,4053],{"type":79,"tag":3953,"props":4041,"children":4042},{},[4043,4049],{"type":79,"tag":106,"props":4044,"children":4046},{"className":4045},[],[4047],{"type":85,"value":4048},"authMiddleware()",{"type":85,"value":4050}," removed",{"type":85,"value":4052}," — migrate to ",{"type":79,"tag":106,"props":4054,"children":4056},{"className":4055},[],[4057],{"type":85,"value":4058},"clerkMiddleware()",{"type":79,"tag":180,"props":4060,"children":4061},{},[4062,4073,4075,4081],{"type":79,"tag":3953,"props":4063,"children":4064},{},[4065,4071],{"type":79,"tag":106,"props":4066,"children":4068},{"className":4067},[],[4069],{"type":85,"value":4070},"@clerk\u002Ftypes",{"type":85,"value":4072}," deprecated",{"type":85,"value":4074}," — import types from SDK subpath exports: ",{"type":79,"tag":106,"props":4076,"children":4078},{"className":4077},[],[4079],{"type":85,"value":4080},"import type { UserResource } from '@clerk\u002Freact\u002Ftypes'",{"type":85,"value":4082}," (works from any SDK package)",{"type":79,"tag":180,"props":4084,"children":4085},{},[4086,4096,4098,4104],{"type":79,"tag":3953,"props":4087,"children":4088},{},[4089,4094],{"type":79,"tag":106,"props":4090,"children":4092},{"className":4091},[],[4093],{"type":85,"value":1086},{"type":85,"value":4095}," no longer forces dynamic rendering",{"type":85,"value":4097}," — pass the ",{"type":79,"tag":106,"props":4099,"children":4101},{"className":4100},[],[4102],{"type":85,"value":4103},"dynamic",{"type":85,"value":4105}," prop if needed",{"type":79,"tag":180,"props":4107,"children":4108},{},[4109,4114,4116,4122,4124,4130,4132],{"type":79,"tag":3953,"props":4110,"children":4111},{},[4112],{"type":85,"value":4113},"Cache components",{"type":85,"value":4115}," — when using Next.js cache components, place ",{"type":79,"tag":106,"props":4117,"children":4119},{"className":4118},[],[4120],{"type":85,"value":4121},"\u003CClerkProvider>",{"type":85,"value":4123}," inside ",{"type":79,"tag":106,"props":4125,"children":4127},{"className":4126},[],[4128],{"type":85,"value":4129},"\u003Cbody>",{"type":85,"value":4131},", not wrapping ",{"type":79,"tag":106,"props":4133,"children":4135},{"className":4134},[],[4136],{"type":85,"value":4137},"\u003Chtml>",{"type":79,"tag":180,"props":4139,"children":4140},{},[4141,4146,4148,4154],{"type":79,"tag":3953,"props":4142,"children":4143},{},[4144],{"type":85,"value":4145},"Satellite domains",{"type":85,"value":4147}," — new ",{"type":79,"tag":106,"props":4149,"children":4151},{"className":4150},[],[4152],{"type":85,"value":4153},"satelliteAutoSync",{"type":85,"value":4155}," option skips handshake redirects when no session cookies exist",{"type":79,"tag":180,"props":4157,"children":4158},{},[4159,4164],{"type":79,"tag":3953,"props":4160,"children":4161},{},[4162],{"type":85,"value":4163},"Smaller bundles",{"type":85,"value":4165}," — React is now shared across framework SDKs (~50KB gzipped savings)",{"type":79,"tag":180,"props":4167,"children":4168},{},[4169,4174,4176,4182],{"type":79,"tag":3953,"props":4170,"children":4171},{},[4172],{"type":85,"value":4173},"Better offline handling",{"type":85,"value":4175}," — ",{"type":79,"tag":106,"props":4177,"children":4179},{"className":4178},[],[4180],{"type":85,"value":4181},"getToken()",{"type":85,"value":4183}," now correctly distinguishes signed-out from offline states",{"type":79,"tag":94,"props":4185,"children":4187},{"id":4186},"cross-references",[4188],{"type":85,"value":4189},"Cross-References",{"type":79,"tag":176,"props":4191,"children":4192},{},[4193,4209,4224,4239],{"type":79,"tag":180,"props":4194,"children":4195},{},[4196,4201,4203],{"type":79,"tag":3953,"props":4197,"children":4198},{},[4199],{"type":85,"value":4200},"Marketplace install and env var provisioning",{"type":85,"value":4202}," → ",{"type":79,"tag":106,"props":4204,"children":4206},{"className":4205},[],[4207],{"type":85,"value":4208},"⤳ skill: marketplace",{"type":79,"tag":180,"props":4210,"children":4211},{},[4212,4217,4218],{"type":79,"tag":3953,"props":4213,"children":4214},{},[4215],{"type":85,"value":4216},"Middleware routing patterns",{"type":85,"value":4202},{"type":79,"tag":106,"props":4219,"children":4221},{"className":4220},[],[4222],{"type":85,"value":4223},"⤳ skill: routing-middleware",{"type":79,"tag":180,"props":4225,"children":4226},{},[4227,4232,4233],{"type":79,"tag":3953,"props":4228,"children":4229},{},[4230],{"type":85,"value":4231},"Environment variable management",{"type":85,"value":4202},{"type":79,"tag":106,"props":4234,"children":4236},{"className":4235},[],[4237],{"type":85,"value":4238},"⤳ skill: env-vars",{"type":79,"tag":180,"props":4240,"children":4241},{},[4242,4247,4248],{"type":79,"tag":3953,"props":4243,"children":4244},{},[4245],{"type":85,"value":4246},"Vercel OAuth (Sign in with Vercel)",{"type":85,"value":4202},{"type":79,"tag":106,"props":4249,"children":4251},{"className":4250},[],[4252],{"type":85,"value":4253},"⤳ skill: sign-in-with-vercel",{"type":79,"tag":94,"props":4255,"children":4257},{"id":4256},"official-documentation",[4258],{"type":85,"value":4259},"Official Documentation",{"type":79,"tag":176,"props":4261,"children":4262},{},[4263,4274,4284,4294],{"type":79,"tag":180,"props":4264,"children":4265},{},[4266],{"type":79,"tag":3731,"props":4267,"children":4271},{"href":4268,"rel":4269},"https:\u002F\u002Fclerk.com\u002Fdocs\u002Fdeployments\u002Fvercel",[4270],"nofollow",[4272],{"type":85,"value":4273},"Clerk + Vercel Marketplace",{"type":79,"tag":180,"props":4275,"children":4276},{},[4277],{"type":79,"tag":3731,"props":4278,"children":4281},{"href":4279,"rel":4280},"https:\u002F\u002Fclerk.com\u002Fdocs\u002Fquickstarts\u002Fnextjs",[4270],[4282],{"type":85,"value":4283},"Clerk Next.js Quickstart",{"type":79,"tag":180,"props":4285,"children":4286},{},[4287],{"type":79,"tag":3731,"props":4288,"children":4291},{"href":4289,"rel":4290},"https:\u002F\u002Fdocs.descope.com\u002Fgetting-started\u002Fnextjs",[4270],[4292],{"type":85,"value":4293},"Descope Next.js SDK",{"type":79,"tag":180,"props":4295,"children":4296},{},[4297],{"type":79,"tag":3731,"props":4298,"children":4301},{"href":4299,"rel":4300},"https:\u002F\u002Fauth0.com\u002Fdocs\u002Fquickstart\u002Fwebapp\u002Fnextjs",[4270],[4302],{"type":85,"value":4303},"Auth0 Next.js SDK",{"type":79,"tag":4305,"props":4306,"children":4307},"style",{},[4308],{"type":85,"value":4309},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":4311,"total":4514},[4312,4333,4356,4373,4389,4408,4427,4441,4457,4471,4483,4498],{"slug":4313,"name":4313,"fn":4314,"description":4315,"org":4316,"tags":4317,"stars":4330,"repoUrl":4331,"updatedAt":4332},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4318,4321,4324,4327],{"name":4319,"slug":4320,"type":15},"Documents","documents",{"name":4322,"slug":4323,"type":15},"Healthcare","healthcare",{"name":4325,"slug":4326,"type":15},"Insurance","insurance",{"name":4328,"slug":4329,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":4334,"name":4334,"fn":4335,"description":4336,"org":4337,"tags":4338,"stars":4353,"repoUrl":4354,"updatedAt":4355},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4339,4342,4344,4347,4350],{"name":4340,"slug":4341,"type":15},".NET","dotnet",{"name":4343,"slug":4334,"type":15},"ASP.NET Core",{"name":4345,"slug":4346,"type":15},"Blazor","blazor",{"name":4348,"slug":4349,"type":15},"C#","csharp",{"name":4351,"slug":4352,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":4357,"name":4357,"fn":4358,"description":4359,"org":4360,"tags":4361,"stars":4353,"repoUrl":4354,"updatedAt":4372},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4362,4365,4368,4371],{"name":4363,"slug":4364,"type":15},"Apps SDK","apps-sdk",{"name":4366,"slug":4367,"type":15},"ChatGPT","chatgpt",{"name":4369,"slug":4370,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":4374,"name":4374,"fn":4375,"description":4376,"org":4377,"tags":4378,"stars":4353,"repoUrl":4354,"updatedAt":4388},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4379,4382,4385],{"name":4380,"slug":4381,"type":15},"API Development","api-development",{"name":4383,"slug":4384,"type":15},"CLI","cli",{"name":4386,"slug":4387,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":4390,"name":4390,"fn":4391,"description":4392,"org":4393,"tags":4394,"stars":4353,"repoUrl":4354,"updatedAt":4407},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4395,4398,4401,4404],{"name":4396,"slug":4397,"type":15},"Cloudflare","cloudflare",{"name":4399,"slug":4400,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":4402,"slug":4403,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":4405,"slug":4406,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":4409,"name":4409,"fn":4410,"description":4411,"org":4412,"tags":4413,"stars":4353,"repoUrl":4354,"updatedAt":4426},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4414,4417,4420,4423],{"name":4415,"slug":4416,"type":15},"Productivity","productivity",{"name":4418,"slug":4419,"type":15},"Project Management","project-management",{"name":4421,"slug":4422,"type":15},"Strategy","strategy",{"name":4424,"slug":4425,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":4428,"name":4428,"fn":4429,"description":4430,"org":4431,"tags":4432,"stars":4353,"repoUrl":4354,"updatedAt":4440},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4433,4436,4438,4439],{"name":4434,"slug":4435,"type":15},"Design","design",{"name":4437,"slug":4428,"type":15},"Figma",{"name":26,"slug":27,"type":15},{"name":4369,"slug":4370,"type":15},"2026-04-12T05:06:47.939943",{"slug":4442,"name":4442,"fn":4443,"description":4444,"org":4445,"tags":4446,"stars":4353,"repoUrl":4354,"updatedAt":4456},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4447,4448,4451,4452,4453],{"name":4434,"slug":4435,"type":15},{"name":4449,"slug":4450,"type":15},"Design System","design-system",{"name":4437,"slug":4428,"type":15},{"name":26,"slug":27,"type":15},{"name":4454,"slug":4455,"type":15},"UI Components","ui-components","2026-05-10T05:59:52.971881",{"slug":4458,"name":4458,"fn":4459,"description":4460,"org":4461,"tags":4462,"stars":4353,"repoUrl":4354,"updatedAt":4470},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4463,4464,4465,4468,4469],{"name":4434,"slug":4435,"type":15},{"name":4449,"slug":4450,"type":15},{"name":4466,"slug":4467,"type":15},"Documentation","documentation",{"name":4437,"slug":4428,"type":15},{"name":26,"slug":27,"type":15},"2026-05-16T06:07:47.821474",{"slug":4472,"name":4472,"fn":4473,"description":4474,"org":4475,"tags":4476,"stars":4353,"repoUrl":4354,"updatedAt":4482},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4477,4478,4479,4480,4481],{"name":4434,"slug":4435,"type":15},{"name":4437,"slug":4428,"type":15},{"name":26,"slug":27,"type":15},{"name":4454,"slug":4455,"type":15},{"name":4351,"slug":4352,"type":15},"2026-05-16T06:07:40.583615",{"slug":4484,"name":4484,"fn":4485,"description":4486,"org":4487,"tags":4488,"stars":4353,"repoUrl":4354,"updatedAt":4497},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4489,4492,4493,4496],{"name":4490,"slug":4491,"type":15},"Animation","animation",{"name":4386,"slug":4387,"type":15},{"name":4494,"slug":4495,"type":15},"Creative","creative",{"name":4434,"slug":4435,"type":15},"2026-05-02T05:31:48.48485",{"slug":4499,"name":4499,"fn":4500,"description":4501,"org":4502,"tags":4503,"stars":4353,"repoUrl":4354,"updatedAt":4513},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4504,4505,4506,4509,4512],{"name":4494,"slug":4495,"type":15},{"name":4434,"slug":4435,"type":15},{"name":4507,"slug":4508,"type":15},"Image Generation","image-generation",{"name":4510,"slug":4511,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675,{"items":4516,"total":4629},[4517,4534,4550,4562,4580,4597,4617],{"slug":4518,"name":4518,"fn":4519,"description":4520,"org":4521,"tags":4522,"stars":28,"repoUrl":29,"updatedAt":4533},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4523,4526,4529,4532],{"name":4524,"slug":4525,"type":15},"Accessibility","accessibility",{"name":4527,"slug":4528,"type":15},"Charts","charts",{"name":4530,"slug":4531,"type":15},"Data Visualization","data-visualization",{"name":4434,"slug":4435,"type":15},"2026-06-30T19:00:57.102",{"slug":4535,"name":4535,"fn":4536,"description":4537,"org":4538,"tags":4539,"stars":28,"repoUrl":29,"updatedAt":4549},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4540,4543,4546],{"name":4541,"slug":4542,"type":15},"Agents","agents",{"name":4544,"slug":4545,"type":15},"Browser Automation","browser-automation",{"name":4547,"slug":4548,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":4551,"name":4551,"fn":4552,"description":4553,"org":4554,"tags":4555,"stars":28,"repoUrl":29,"updatedAt":4561},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4556,4557,4560],{"name":4544,"slug":4545,"type":15},{"name":4558,"slug":4559,"type":15},"Local Development","local-development",{"name":4547,"slug":4548,"type":15},"2026-04-06T18:41:17.526867",{"slug":4563,"name":4563,"fn":4564,"description":4565,"org":4566,"tags":4567,"stars":28,"repoUrl":29,"updatedAt":4579},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4568,4569,4570,4573,4576],{"name":4541,"slug":4542,"type":15},{"name":4402,"slug":4403,"type":15},{"name":4571,"slug":4572,"type":15},"SDK","sdk",{"name":4574,"slug":4575,"type":15},"Serverless","serverless",{"name":4577,"slug":4578,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":4581,"name":4581,"fn":4582,"description":4583,"org":4584,"tags":4585,"stars":28,"repoUrl":29,"updatedAt":4596},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4586,4587,4590,4593,4594],{"name":26,"slug":27,"type":15},{"name":4588,"slug":4589,"type":15},"React","react",{"name":4591,"slug":4592,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":4454,"slug":4455,"type":15},{"name":4595,"slug":153,"type":15},"Vercel","2026-04-06T18:40:59.619419",{"slug":4598,"name":4598,"fn":4599,"description":4600,"org":4601,"tags":4602,"stars":28,"repoUrl":29,"updatedAt":4616},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4603,4606,4609,4612,4615],{"name":4604,"slug":4605,"type":15},"AI Infrastructure","ai-infrastructure",{"name":4607,"slug":4608,"type":15},"Cost Optimization","cost-optimization",{"name":4610,"slug":4611,"type":15},"LLM","llm",{"name":4613,"slug":4614,"type":15},"Performance","performance",{"name":4595,"slug":153,"type":15},"2026-04-06T18:40:44.377464",{"slug":4618,"name":4618,"fn":4619,"description":4620,"org":4621,"tags":4622,"stars":28,"repoUrl":29,"updatedAt":4628},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[4623,4624,4627],{"name":4607,"slug":4608,"type":15},{"name":4625,"slug":4626,"type":15},"Database","database",{"name":4610,"slug":4611,"type":15},"2026-04-06T18:41:08.513425",600]