[{"data":1,"prerenderedAt":808},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-installation":208,"-getting-started-installation-surround":803},[4,42,68,115,136,157],{"title":5,"path":6,"stem":7,"children":8,"icon":11},"Getting Started","\u002Fgetting-started","1.getting-started\u002F0.index",[9,12,17,22,27,32,37],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-sparkles",{"title":13,"path":14,"stem":15,"icon":16},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":18,"path":19,"stem":20,"icon":21},"Configuration","\u002Fgetting-started\u002Fconfiguration","1.getting-started\u002F2.configuration","i-lucide-settings",{"title":23,"path":24,"stem":25,"icon":26},"Client Setup","\u002Fgetting-started\u002Fclient-setup","1.getting-started\u002F3.client-setup","i-lucide-monitor",{"title":28,"path":29,"stem":30,"icon":31},"Type Augmentation","\u002Fgetting-started\u002Ftype-augmentation","1.getting-started\u002F4.type-augmentation","i-lucide-type",{"title":33,"path":34,"stem":35,"icon":36},"Schema Generation (NuxtHub)","\u002Fgetting-started\u002Fschema-generation","1.getting-started\u002F5.schema-generation","i-lucide-database",{"title":38,"path":39,"stem":40,"icon":41},"How It Works","\u002Fgetting-started\u002Fhow-it-works","1.getting-started\u002F6.how-it-works","i-lucide-workflow",{"title":43,"path":44,"stem":45,"children":46,"page":67},"Core Concepts","\u002Fcore-concepts","2.core-concepts",[47,51,55,59,63],{"title":48,"path":49,"stem":50},"serverAuth()","\u002Fcore-concepts\u002Fserver-auth","2.core-concepts\u002F1.server-auth",{"title":52,"path":53,"stem":54},"Sessions","\u002Fcore-concepts\u002Fsessions","2.core-concepts\u002F2.sessions",{"title":56,"path":57,"stem":58},"Route Protection","\u002Fcore-concepts\u002Froute-protection","2.core-concepts\u002F3.route-protection",{"title":60,"path":61,"stem":62},"Auto‑Imports and Aliases","\u002Fcore-concepts\u002Fauto-imports-aliases","2.core-concepts\u002F4.auto-imports-aliases",{"title":64,"path":65,"stem":66},"Security & Caveats","\u002Fcore-concepts\u002Fsecurity-caveats","2.core-concepts\u002F5.security-caveats",false,{"title":69,"path":70,"stem":71,"children":72,"page":67},"Guides","\u002Fguides","3.guides",[73,77,82,86,90,94,99,103,107,111],{"title":74,"path":75,"stem":76},"Role‑Based Access","\u002Fguides\u002Frole-based-access","3.guides\u002F1.role-based-access",{"title":78,"path":79,"stem":80,"icon":81},"Setup diagnostics","\u002Fguides\u002Fdiagnostics","3.guides\u002F10.diagnostics","i-lucide-circle-alert",{"title":83,"path":84,"stem":85},"OAuth Providers","\u002Fguides\u002Foauth-providers","3.guides\u002F2.oauth-providers",{"title":87,"path":88,"stem":89},"Custom Database","\u002Fguides\u002Fcustom-database","3.guides\u002F3.custom-database",{"title":91,"path":92,"stem":93},"Database-less Mode","\u002Fguides\u002Fdatabase-less-mode","3.guides\u002F4.database-less-mode",{"title":95,"path":96,"stem":97,"icon":98},"External Auth Backend","\u002Fguides\u002Fexternal-auth-backend","3.guides\u002F5.external-auth-backend","i-lucide-server",{"title":100,"path":101,"stem":102},"Migrating from nuxt-auth-utils","\u002Fguides\u002Fmigrate-from-nuxt-auth-utils","3.guides\u002F6.migrate-from-nuxt-auth-utils",{"title":104,"path":105,"stem":106},"Two-Factor Authentication (TOTP + Backup Codes)","\u002Fguides\u002Ftwo-factor-auth","3.guides\u002F7.two-factor-auth",{"title":108,"path":109,"stem":110},"Testing","\u002Fguides\u002Ftesting","3.guides\u002F8.testing",{"title":112,"path":113,"stem":114},"Production Deployment","\u002Fguides\u002Fproduction-deployment","3.guides\u002F9.production-deployment",{"title":116,"path":117,"stem":118,"children":119,"page":67},"Integrations","\u002Fintegrations","4.integrations",[120,124,128,132],{"title":121,"path":122,"stem":123},"NuxtHub","\u002Fintegrations\u002Fnuxthub","4.integrations\u002F1.nuxthub",{"title":125,"path":126,"stem":127},"DevTools","\u002Fintegrations\u002Fdevtools","4.integrations\u002F2.devtools",{"title":129,"path":130,"stem":131},"Convex","\u002Fintegrations\u002Fconvex","4.integrations\u002F3.convex",{"title":133,"path":134,"stem":135},"i18n","\u002Fintegrations\u002Fi18n","4.integrations\u002F4.i18n",{"title":137,"path":138,"stem":139,"children":140,"page":67},"API Reference","\u002Fapi","5.api",[141,145,149,153],{"title":142,"path":143,"stem":144},"Composables","\u002Fapi\u002Fcomposables","5.api\u002F1.composables",{"title":146,"path":147,"stem":148},"Server Utilities","\u002Fapi\u002Fserver-utils","5.api\u002F2.server-utils",{"title":150,"path":151,"stem":152},"Components","\u002Fapi\u002Fcomponents","5.api\u002F3.components",{"title":154,"path":155,"stem":156},"Types","\u002Fapi\u002Ftypes","5.api\u002F4.types",{"title":158,"path":159,"stem":160,"children":161,"icon":81},"Errors","\u002Ferrors","6.errors\u002F0.index",[162,164,168,172,176,180,184,188,192,196,200,204],{"title":163,"path":159,"stem":160},"Overview",{"title":165,"path":166,"stem":167},"Auth configuration failed to load","\u002Ferrors\u002Fnuxt-auth-config-load-failed","6.errors\u002Fnuxt-auth-config-load-failed",{"title":169,"path":170,"stem":171},"Schema generator returned no code","\u002Ferrors\u002Fnuxt-auth-empty-schema","6.errors\u002Fnuxt-auth-empty-schema",{"title":173,"path":174,"stem":175},"Invalid server auth config export","\u002Ferrors\u002Fnuxt-auth-invalid-config-export","6.errors\u002Fnuxt-auth-invalid-config-export",{"title":177,"path":178,"stem":179},"Auth plugin path must be absolute","\u002Ferrors\u002Fnuxt-auth-invalid-plugin-source","6.errors\u002Fnuxt-auth-invalid-plugin-source",{"title":181,"path":182,"stem":183},"Missing auth configuration","\u002Ferrors\u002Fnuxt-auth-missing-config","6.errors\u002Fnuxt-auth-missing-config",{"title":185,"path":186,"stem":187},"NuxtHub database alias is missing","\u002Ferrors\u002Fnuxt-auth-missing-hub-db","6.errors\u002Fnuxt-auth-missing-hub-db",{"title":189,"path":190,"stem":191},"No database provider is enabled","\u002Ferrors\u002Fnuxt-auth-no-database-provider","6.errors\u002Fnuxt-auth-no-database-provider",{"title":193,"path":194,"stem":195},"Auth schema generation failed","\u002Ferrors\u002Fnuxt-auth-schema-generation-failed","6.errors\u002Fnuxt-auth-schema-generation-failed",{"title":197,"path":198,"stem":199},"Custom session storage is missing","\u002Ferrors\u002Fnuxt-auth-schema-storage-required","6.errors\u002Fnuxt-auth-schema-storage-required",{"title":201,"path":202,"stem":203},"Secondary storage in client-only mode","\u002Ferrors\u002Fnuxt-auth-storage-client-only","6.errors\u002Fnuxt-auth-storage-client-only",{"title":205,"path":206,"stem":207},"Unsupported database dialect","\u002Ferrors\u002Fnuxt-auth-unsupported-dialect","6.errors\u002Fnuxt-auth-unsupported-dialect",{"id":209,"title":13,"body":210,"description":796,"extension":797,"links":798,"meta":799,"navigation":800,"path":14,"seo":801,"stem":15,"__hash__":802},"docs\u002F1.getting-started\u002F1.installation.md",{"type":211,"value":212,"toc":786},"minimark",[213,290,294,299,340,344,696,700,703,724,728,754,765,782],[214,215,216],"code-collapse",{},[217,218,224],"pre",{"className":219,"code":220,"filename":221,"language":222,"meta":223,"style":223},"language-txt shiki shiki-themes one-light synthwave-84 synthwave-84","Install @nuxtjs\u002Fbetter-auth in my Nuxt app.\n\n- Read the raw installation documentation first: https:\u002F\u002Fbetter-auth.nuxt.dev\u002Fraw\u002Fgetting-started\u002Finstallation.md\n- Run `npx nuxi module add @nuxtjs\u002Fbetter-auth`\n- Set `NUXT_BETTER_AUTH_SECRET` or `BETTER_AUTH_SECRETS` in `.env` (at least 32 chars per current secret, high entropy)\n- Set `NUXT_PUBLIC_SITE_URL` for Cloudflare Workers, custom domains, and production hosts without a supported platform URL variable\n- Create `server\u002Fauth.config.ts` using `defineServerAuth` from `@nuxtjs\u002Fbetter-auth\u002Fconfig`\n- Create `app\u002Fauth.config.ts` using `defineClientAuth` from `@nuxtjs\u002Fbetter-auth\u002Fconfig`\n- The module auto-injects `secret` and `baseURL` — do not configure them manually\n- In `defineServerAuth`, use the app config callback's `requestOrigin` when Better Auth needs the current request host, such as `trustedOrigins`\n","Prompt","txt","",[225,226,227,235,242,248,254,260,266,272,278,284],"code",{"__ignoreMap":223},[228,229,232],"span",{"class":230,"line":231},"line",1,[228,233,234],{},"Install @nuxtjs\u002Fbetter-auth in my Nuxt app.\n",[228,236,238],{"class":230,"line":237},2,[228,239,241],{"emptyLinePlaceholder":240},true,"\n",[228,243,245],{"class":230,"line":244},3,[228,246,247],{},"- Read the raw installation documentation first: https:\u002F\u002Fbetter-auth.nuxt.dev\u002Fraw\u002Fgetting-started\u002Finstallation.md\n",[228,249,251],{"class":230,"line":250},4,[228,252,253],{},"- Run `npx nuxi module add @nuxtjs\u002Fbetter-auth`\n",[228,255,257],{"class":230,"line":256},5,[228,258,259],{},"- Set `NUXT_BETTER_AUTH_SECRET` or `BETTER_AUTH_SECRETS` in `.env` (at least 32 chars per current secret, high entropy)\n",[228,261,263],{"class":230,"line":262},6,[228,264,265],{},"- Set `NUXT_PUBLIC_SITE_URL` for Cloudflare Workers, custom domains, and production hosts without a supported platform URL variable\n",[228,267,269],{"class":230,"line":268},7,[228,270,271],{},"- Create `server\u002Fauth.config.ts` using `defineServerAuth` from `@nuxtjs\u002Fbetter-auth\u002Fconfig`\n",[228,273,275],{"class":230,"line":274},8,[228,276,277],{},"- Create `app\u002Fauth.config.ts` using `defineClientAuth` from `@nuxtjs\u002Fbetter-auth\u002Fconfig`\n",[228,279,281],{"class":230,"line":280},9,[228,282,283],{},"- The module auto-injects `secret` and `baseURL` — do not configure them manually\n",[228,285,287],{"class":230,"line":286},10,[228,288,289],{},"- In `defineServerAuth`, use the app config callback's `requestOrigin` when Better Auth needs the current request host, such as `trustedOrigins`\n",[291,292,293],"p",{},"Use this page when you want the full install checklist rather than the shorter quickstart.",[295,296,298],"h2",{"id":297},"prerequisites","Prerequisites",[300,301,302,306,320,323,330,333],"ul",{},[303,304,305],"li",{},"Nuxt 4.0 or newer",[303,307,308,309,312,313,316,317],{},"Node.js ",[225,310,311],{},"^22.19.0",", ",[225,314,315],{},"^24.11.0",", or ",[225,318,319],{},">=26.0.0",[303,321,322],{},"A Better Auth 1.x version that satisfies this package's peer dependency range",[303,324,325,326],{},"NuxtHub 0.10.5 or newer if you plan to use the optional ",[327,328,329],"a",{"href":122},"NuxtHub integration",[303,331,332],{},"a package manager configured for your app",[303,334,335,336,339],{},"a local ",[225,337,338],{},".env"," file or deployment environment variable system",[295,341,343],{"id":342},"add-to-project","Add to project",[345,346,347,352,378,382,406,412,421,424,433,436,439,459,468,471,480,487,511,520,533,537,556,559,580,583,660],"steps",{},[348,349,351],"h3",{"id":350},"install-the-module","Install the module",[217,353,357],{"className":354,"code":355,"language":356,"meta":223,"style":223},"language-bash shiki shiki-themes one-light synthwave-84 synthwave-84","npx nuxi module add @nuxtjs\u002Fbetter-auth\n","bash",[225,358,359],{"__ignoreMap":223},[228,360,361,365,369,372,375],{"class":230,"line":231},[228,362,364],{"class":363},"siqUp","npx",[228,366,368],{"class":367},"sI3kV"," nuxi",[228,370,371],{"class":367}," module",[228,373,374],{"class":367}," add",[228,376,377],{"class":367}," @nuxtjs\u002Fbetter-auth\n",[348,379,381],{"id":380},"set-environment-variables","Set environment variables",[383,384,385,386,389,390,393,394,396,397,312,399,316,402,405],"tip",{"icon":11},"When you install the module with ",[225,387,388],{},"nuxi module add",", it prompts you to generate ",[225,391,392],{},"NUXT_BETTER_AUTH_SECRET"," and can append it to your ",[225,395,338],{},". The prompt is skipped when ",[225,398,392],{},[225,400,401],{},"BETTER_AUTH_SECRET",[225,403,404],{},"BETTER_AUTH_SECRETS"," is already configured. In CI\u002Ftest environments it auto-generates the singular secret.",[291,407,408,409,411],{},"Add these environment variables to ",[225,410,338],{},":",[413,414,415],"ol",{},[303,416,417],{},[418,419,420],"strong",{},"Secret Key",[291,422,423],{},"The secret encrypts and hashes sensitive data. Must be at least 32 characters with high entropy.",[217,425,427],{"className":219,"code":426,"filename":338,"language":222,"meta":223,"style":223},"NUXT_BETTER_AUTH_SECRET=\n",[225,428,429],{"__ignoreMap":223},[228,430,431],{"class":230,"line":231},[228,432,426],{},[434,435],"generate-secret",{},[291,437,438],{},"Or generate via terminal:",[217,440,442],{"className":354,"code":441,"language":356,"meta":223,"style":223},"openssl rand -base64 32\n",[225,443,444],{"__ignoreMap":223},[228,445,446,449,452,456],{"class":230,"line":231},[228,447,448],{"class":363},"openssl",[228,450,451],{"class":367}," rand",[228,453,455],{"class":454},"s3ZNE"," -base64",[228,457,458],{"class":454}," 32\n",[383,460,461,462,464,465,467],{},"Use ",[225,463,392],{}," for Nuxt runtime config and multi-environment deployments. ",[225,466,401],{}," remains supported as a fallback.",[291,469,470],{},"For non-destructive rotation, use Better Auth's versioned environment variable instead:",[217,472,474],{"className":219,"code":473,"filename":338,"language":222,"meta":223,"style":223},"BETTER_AUTH_SECRETS=2:current-secret-must-be-at-least-32-characters,1:previous-secret-must-be-at-least-32-characters\n",[225,475,476],{"__ignoreMap":223},[228,477,478],{"class":230,"line":231},[228,479,473],{},[413,481,482],{"start":237},[303,483,484],{},[418,485,486],{},"Base URL",[291,488,489,490,493,494,498,499,502,503,506,507,510],{},"Set ",[225,491,492],{},"NUXT_PUBLIC_SITE_URL"," for ",[495,496],"brand-badge",{"name":497},"cloudflare"," Workers, custom domains, and production hosts without a supported platform URL variable. For platform domains, the module can use ",[225,500,501],{},"VERCEL_URL"," (Vercel), ",[225,504,505],{},"CF_PAGES_URL"," (Cloudflare Pages), or ",[225,508,509],{},"URL"," (Netlify) when available at runtime.",[217,512,514],{"className":219,"code":513,"filename":338,"language":222,"meta":223,"style":223},"NUXT_PUBLIC_SITE_URL=https:\u002F\u002Fyour-domain.com\n",[225,515,516],{"__ignoreMap":223},[228,517,518],{"class":230,"line":231},[228,519,513],{},[291,521,522,523,525,526,528,529,532],{},"Cloudflare Workers does not supply ",[225,524,505],{},". Configure ",[225,527,492],{}," in the Worker's runtime variables, including for ",[225,530,531],{},"workers.dev"," deployments. Without an explicit or supported platform URL, production auth initialization fails.",[348,534,536],{"id":535},"create-configuration-files","Create configuration files",[383,538,539,540,543,544,547,548,551,552,555],{"icon":11},"During module install, ",[225,541,542],{},"server\u002Fauth.config.ts"," and ",[225,545,546],{},"\u003CsrcDir>\u002Fauth.config.ts"," are scaffolded if missing. The client config is placed in your ",[225,549,550],{},"srcDir"," (e.g., ",[225,553,554],{},"app\u002F"," or project root).",[291,557,558],{},"The module requires two configuration files:",[413,560,561,569],{},[303,562,563,566,567],{},[418,564,565],{},"Server Configuration",": ",[225,568,542],{},[303,570,571,566,574,551,576,579],{},[418,572,573],{},"Client Configuration",[225,575,546],{},[225,577,578],{},"app\u002Fauth.config.ts",")",[291,581,582],{},"Create these files with the following content:",[217,584,588],{"className":585,"code":586,"filename":542,"language":587,"meta":223,"style":223},"language-ts shiki shiki-themes one-light synthwave-84 synthwave-84","import { defineServerAuth } from '@nuxtjs\u002Fbetter-auth\u002Fconfig'\n\nexport default defineServerAuth({\n  emailAndPassword: { enabled: true }\n})\n","ts",[225,589,590,614,618,634,655],{"__ignoreMap":223},[228,591,592,596,600,604,607,610],{"class":230,"line":231},[228,593,595],{"class":594},"sqe1H","import",[228,597,599],{"class":598},"s17Py"," { ",[228,601,603],{"class":602},"sYvLG","defineServerAuth",[228,605,606],{"class":598}," } ",[228,608,609],{"class":594},"from",[228,611,613],{"class":612},"sPAZv"," '@nuxtjs\u002Fbetter-auth\u002Fconfig'\n",[228,615,616],{"class":230,"line":237},[228,617,241],{"emptyLinePlaceholder":240},[228,619,620,623,627,631],{"class":230,"line":244},[228,621,622],{"class":594},"export",[228,624,626],{"class":625},"sKg8T"," default",[228,628,630],{"class":629},"sfT9l"," defineServerAuth",[228,632,633],{"class":598},"({\n",[228,635,636,639,642,644,647,649,652],{"class":230,"line":250},[228,637,638],{"class":602},"  emailAndPassword",[228,640,411],{"class":641},"sVnqq",[228,643,599],{"class":598},[228,645,646],{"class":602},"enabled",[228,648,411],{"class":641},[228,650,651],{"class":454}," true",[228,653,654],{"class":598}," }\n",[228,656,657],{"class":230,"line":256},[228,658,659],{"class":598},"})\n",[217,661,663],{"className":585,"code":662,"filename":578,"language":587,"meta":223,"style":223},"import { defineClientAuth } from '@nuxtjs\u002Fbetter-auth\u002Fconfig'\n\nexport default defineClientAuth({})\n",[225,664,665,680,684],{"__ignoreMap":223},[228,666,667,669,671,674,676,678],{"class":230,"line":231},[228,668,595],{"class":594},[228,670,599],{"class":598},[228,672,673],{"class":602},"defineClientAuth",[228,675,606],{"class":598},[228,677,609],{"class":594},[228,679,613],{"class":612},[228,681,682],{"class":230,"line":237},[228,683,241],{"emptyLinePlaceholder":240},[228,685,686,688,690,693],{"class":230,"line":244},[228,687,622],{"class":594},[228,689,626],{"class":625},[228,691,692],{"class":629}," defineClientAuth",[228,694,695],{"class":598},"({})\n",[295,697,699],{"id":698},"verify-the-installation","Verify the installation",[291,701,702],{},"Confirm all of the following:",[300,704,705,708,713,721],{},[303,706,707],{},"Nuxt starts without missing-config errors",[303,709,710,712],{},[225,711,542],{}," exists",[303,714,715,717,718,720],{},[225,716,578],{}," or your ",[225,719,550],{}," equivalent exists",[303,722,723],{},"a singular or versioned auth secret is available at runtime",[295,725,727],{"id":726},"next-steps","Next steps",[300,729,730,737,743],{},[303,731,732,733,736],{},"Continue with ",[327,734,735],{"href":19},"configuration"," to set module options and route protection.",[303,738,732,739,742],{},[327,740,741],{"href":24},"client setup"," to wire sign-in and sign-out flows.",[303,744,745,746,749,750,753],{},"If you need durable persistence, pick either ",[495,747],{"name":748,"to":122},"nuxthub"," integration or ",[327,751,752],{"href":88},"custom database",".",[755,756,757,760,761,764],"callout",{"icon":36,"to":122},[418,758,759],{},"Need database persistence?"," See ",[495,762],{"name":748,":unlinked":763},"true"," Integration for auto-generated schemas and full database support.",[755,766,768,771,772,312,775,316,778,781],{"icon":767,"to":88},"i-lucide-hard-drive",[418,769,770],{},"Bring your own database?"," Use ",[495,773],{"name":774,":unlinked":763},"drizzle",[495,776],{"name":777,":unlinked":763},"prisma",[495,779],{"name":780,":unlinked":763},"kysely"," adapters with any database.",[783,784,785],"style",{},"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);}html pre.shiki code .siqUp, html code.shiki .siqUp{--shiki-light:#4078F2;--shiki-default:#FE4450;--shiki-dark:#FE4450}html pre.shiki code .sI3kV, html code.shiki .sI3kV{--shiki-light:#50A14F;--shiki-default:#BBBBBB;--shiki-dark:#BBBBBB}html pre.shiki code .s3ZNE, html code.shiki .s3ZNE{--shiki-light:#986801;--shiki-default:#F97E72;--shiki-dark:#F97E72}html pre.shiki code .sqe1H, html code.shiki .sqe1H{--shiki-light:#A626A4;--shiki-default:#FEDE5D;--shiki-dark:#FEDE5D}html pre.shiki code .s17Py, html code.shiki .s17Py{--shiki-light:#383A42;--shiki-default:#BBBBBB;--shiki-dark:#BBBBBB}html pre.shiki code .sYvLG, html code.shiki .sYvLG{--shiki-light:#E45649;--shiki-default:#FF7EDB;--shiki-dark:#FF7EDB}html pre.shiki code .sPAZv, html code.shiki .sPAZv{--shiki-light:#50A14F;--shiki-default:#FF8B39;--shiki-dark:#FF8B39}html pre.shiki code .sKg8T, html code.shiki .sKg8T{--shiki-light:#E45649;--shiki-default:#FEDE5D;--shiki-dark:#FEDE5D}html pre.shiki code .sfT9l, html code.shiki .sfT9l{--shiki-light:#4078F2;--shiki-default:#36F9F6;--shiki-dark:#36F9F6}html pre.shiki code .sVnqq, html code.shiki .sVnqq{--shiki-light:#0184BC;--shiki-default:#B6B1B1;--shiki-dark:#B6B1B1}",{"title":223,"searchDepth":237,"depth":237,"links":787},[788,789,794,795],{"id":297,"depth":237,"text":298},{"id":342,"depth":237,"text":343,"children":790},[791,792,793],{"id":350,"depth":244,"text":351},{"id":380,"depth":244,"text":381},{"id":535,"depth":244,"text":536},{"id":698,"depth":237,"text":699},{"id":726,"depth":237,"text":727},"Learn how to add Nuxt Better Auth to your Nuxt project.","md",null,{},{"icon":16},{"title":13,"description":796},"CsrW336n2wEOqAQrATbJQ5oF5kpYcXODlGLjWwyBlZY",[804,806],{"title":10,"path":6,"stem":7,"description":805,"icon":11,"children":-1},"Nuxt Better Auth integrates Better Auth with Nuxt for route protection, session management, and schema generation.",{"title":18,"path":19,"stem":20,"description":807,"icon":21,"children":-1},"Configure the module options and your Better Auth server instance.",1791073725977]