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