[{"data":1,"prerenderedAt":847,"buildId":848},["ShallowReactive",2],{"-core-concepts-security-caveats":3,"-core-concepts-security-caveats-surround":630,"navigation_docs":641},{"id":4,"title":5,"body":6,"description":622,"extension":623,"links":624,"meta":625,"navigation":83,"path":626,"seo":627,"stem":628,"__hash__":629},"docs\u002F2.core-concepts\u002F5.security-caveats.md","Security & Caveats",{"type":7,"value":8,"toc":612},"minimark",[9,13,18,21,25,41,152,159,163,186,210,230,241,246,249,255,412,417,474,485,548,552,563,570,574,585,588,593,597,608],[10,11,12],"p",{},"Use this page when you are moving from “it works locally” to “it is safe to deploy”.",[14,15,17],"h2",{"id":16},"client-redirects-are-not-security","Client redirects are not security",[10,19,20],{},"Client-side redirects improve UX but don't prevent unauthorized access. Always validate on the server.",[14,22,24],{"id":23},"csrf-origin-checks","CSRF \u002F origin checks",[10,26,27,28,32,33,36,37,40],{},"Better Auth performs origin checks for cookie-based requests (it validates ",[29,30,31],"code",{},"Origin"," \u002F ",[29,34,35],{},"Referer","). If you use multiple domains (custom domains, preview URLs, etc.), add them to ",[29,38,39],{},"trustedOrigins"," in your auth config.",[42,43,49],"pre",{"className":44,"code":45,"filename":46,"language":47,"meta":48,"style":48},"language-ts shiki shiki-themes one-light synthwave-84 synthwave-84","import { defineServerAuth } from '@nuxtjs\u002Fbetter-auth\u002Fconfig'\n\nexport default defineServerAuth({\n  trustedOrigins: [\n    'http:\u002F\u002Flocalhost:3000',\n    'https:\u002F\u002Fyour-domain.com',\n    'https:\u002F\u002Fyour-preview.workers.dev',\n  ],\n})\n","server\u002Fauth.config.ts","ts","",[29,50,51,78,85,102,115,124,132,140,146],{"__ignoreMap":48},[52,53,56,60,64,68,71,74],"span",{"class":54,"line":55},"line",1,[52,57,59],{"class":58},"sqe1H","import",[52,61,63],{"class":62},"s17Py"," { ",[52,65,67],{"class":66},"sYvLG","defineServerAuth",[52,69,70],{"class":62}," } ",[52,72,73],{"class":58},"from",[52,75,77],{"class":76},"sPAZv"," '@nuxtjs\u002Fbetter-auth\u002Fconfig'\n",[52,79,81],{"class":54,"line":80},2,[52,82,84],{"emptyLinePlaceholder":83},true,"\n",[52,86,88,91,95,99],{"class":54,"line":87},3,[52,89,90],{"class":58},"export",[52,92,94],{"class":93},"sKg8T"," default",[52,96,98],{"class":97},"sfT9l"," defineServerAuth",[52,100,101],{"class":62},"({\n",[52,103,105,108,112],{"class":54,"line":104},4,[52,106,107],{"class":66},"  trustedOrigins",[52,109,111],{"class":110},"sVnqq",":",[52,113,114],{"class":62}," [\n",[52,116,118,121],{"class":54,"line":117},5,[52,119,120],{"class":76},"    'http:\u002F\u002Flocalhost:3000'",[52,122,123],{"class":62},",\n",[52,125,127,130],{"class":54,"line":126},6,[52,128,129],{"class":76},"    'https:\u002F\u002Fyour-domain.com'",[52,131,123],{"class":62},[52,133,135,138],{"class":54,"line":134},7,[52,136,137],{"class":76},"    'https:\u002F\u002Fyour-preview.workers.dev'",[52,139,123],{"class":62},[52,141,143],{"class":54,"line":142},8,[52,144,145],{"class":62},"  ],\n",[52,147,149],{"class":54,"line":148},9,[52,150,151],{"class":62},"})\n",[153,154,155,156,158],"important",{},"If you deploy preview environments, you must include the preview origin in ",[29,157,39],{},". Otherwise, sign-in or sign-up requests can fail origin validation even when the API endpoint is healthy.",[14,160,162],{"id":161},"api-enforcement-behavior","API enforcement behavior",[10,164,165,166,169,170,173,174,177,178,181,182,185],{},"The built-in Nitro middleware checks ",[29,167,168],{},"routeRules.auth"," for app-owned ",[29,171,172],{},"\u002Fapi\u002F**"," routes. It skips Better Auth's ",[29,175,176],{},"\u002Fapi\u002Fauth\u002F**"," handler and known framework or module internals such as ",[29,179,180],{},"\u002Fapi\u002F_nuxt_icon\u002F**"," and ",[29,183,184],{},"\u002Fapi\u002F_better-auth\u002F**",", so broad route rules do not break auth, icons, or module tooling.",[10,187,188,189,192,193,192,196,192,199,192,202,205,206,209],{},"Do not combine an auth rule with ",[29,190,191],{},"cache",", ",[29,194,195],{},"swr",[29,197,198],{},"isr",[29,200,201],{},"static",[29,203,204],{},"prerender",", or ",[29,207,208],{},"proxy",". Those rules can run before authentication or reuse a response across users. The module rejects direct and inherited combinations during setup.",[10,211,212,213,192,216,192,219,192,222,225,226,229],{},"Known public asset namespaces (",[29,214,215],{},"\u002F_fonts",[29,217,218],{},"\u002F_ipx",[29,220,221],{},"\u002F_nuxt",[29,223,224],{},"\u002F_scripts\u002Fassets",", and ",[29,227,228],{},"\u002Fapi\u002F_nuxt_icon",", including their subpaths) are excluded from route-rule auth and its conflict validation in development and production. These paths must not contain private application routes. Authentication and devtools API paths still undergo conflict validation.",[10,231,232,233,236,237,240],{},"Registering a dev server handler does not exempt an application route: handlers can fall through to Nitro. For a custom public asset prefix, explicitly set ",[29,234,235],{},"auth: false",". If an asset module overwrites that route rule during setup, set the exclusion in a ",[29,238,239],{},"nitro:config"," hook.",[242,243,245],"h3",{"id":244},"customizing-unauthorized-behavior","Customizing Unauthorized Behavior",[10,247,248],{},"By default, unauthorized requests to protected routes receive a 401 response. To customize:",[10,250,251],{},[252,253,254],"strong",{},"Redirect to login instead of 401:",[42,256,259],{"className":44,"code":257,"filename":258,"language":47,"meta":48,"style":48},"import { sendRedirect } from 'h3'\n\nexport default defineEventHandler(async (event) => {\n  const session = await getUserSession(event)\n  if (!session && event.path.startsWith('\u002Fapi\u002Fprotected')) {\n    return sendRedirect(event, '\u002Flogin', 302)\n  }\n})\n","server\u002Fmiddleware\u002Fauth.ts",[29,260,261,277,281,312,338,378,403,408],{"__ignoreMap":48},[52,262,263,265,267,270,272,274],{"class":54,"line":55},[52,264,59],{"class":58},[52,266,63],{"class":62},[52,268,269],{"class":66},"sendRedirect",[52,271,70],{"class":62},[52,273,73],{"class":58},[52,275,276],{"class":76}," 'h3'\n",[52,278,279],{"class":54,"line":80},[52,280,84],{"emptyLinePlaceholder":83},[52,282,283,285,287,290,293,296,299,303,306,309],{"class":54,"line":87},[52,284,90],{"class":58},[52,286,94],{"class":93},[52,288,289],{"class":97}," defineEventHandler",[52,291,292],{"class":62},"(",[52,294,295],{"class":58},"async",[52,297,298],{"class":62}," (",[52,300,302],{"class":301},"sgisi","event",[52,304,305],{"class":62},") ",[52,307,308],{"class":58},"=>",[52,310,311],{"class":62}," {\n",[52,313,314,317,321,325,328,331,333,335],{"class":54,"line":104},[52,315,316],{"class":58},"  const",[52,318,320],{"class":319},"s6Rhl"," session",[52,322,324],{"class":323},"sQBpM"," =",[52,326,327],{"class":58}," await",[52,329,330],{"class":97}," getUserSession",[52,332,292],{"class":62},[52,334,302],{"class":66},[52,336,337],{"class":62},")\n",[52,339,340,343,345,349,352,355,359,362,365,367,370,372,375],{"class":54,"line":117},[52,341,342],{"class":58},"  if",[52,344,298],{"class":62},[52,346,348],{"class":347},"sn-Jc","!",[52,350,351],{"class":66},"session",[52,353,354],{"class":347}," &&",[52,356,358],{"class":357},"svFNh"," event",[52,360,361],{"class":62},".",[52,363,364],{"class":66},"path",[52,366,361],{"class":62},[52,368,369],{"class":97},"startsWith",[52,371,292],{"class":62},[52,373,374],{"class":76},"'\u002Fapi\u002Fprotected'",[52,376,377],{"class":62},")) {\n",[52,379,380,383,386,388,390,392,395,397,401],{"class":54,"line":126},[52,381,382],{"class":58},"    return",[52,384,385],{"class":97}," sendRedirect",[52,387,292],{"class":62},[52,389,302],{"class":66},[52,391,192],{"class":62},[52,393,394],{"class":76},"'\u002Flogin'",[52,396,192],{"class":62},[52,398,400],{"class":399},"s3ZNE","302",[52,402,337],{"class":62},[52,404,405],{"class":54,"line":134},[52,406,407],{"class":62},"  }\n",[52,409,410],{"class":54,"line":142},[52,411,151],{"class":62},[10,413,414],{},[252,415,416],{},"Return JSON error for API routes:",[42,418,420],{"className":44,"code":419,"language":47,"meta":48,"style":48},"\u002F\u002F This is the default behavior for \u002Fapi\u002F* routes\nthrow createError({\n  statusCode: 401,\n  data: { error: 'Authentication required' }\n})\n",[29,421,422,428,438,450,470],{"__ignoreMap":48},[52,423,424],{"class":54,"line":55},[52,425,427],{"class":426},"st7cf","\u002F\u002F This is the default behavior for \u002Fapi\u002F* routes\n",[52,429,430,433,436],{"class":54,"line":80},[52,431,432],{"class":58},"throw",[52,434,435],{"class":97}," createError",[52,437,101],{"class":62},[52,439,440,443,445,448],{"class":54,"line":87},[52,441,442],{"class":66},"  statusCode",[52,444,111],{"class":110},[52,446,447],{"class":399}," 401",[52,449,123],{"class":62},[52,451,452,455,457,459,462,464,467],{"class":54,"line":104},[52,453,454],{"class":66},"  data",[52,456,111],{"class":110},[52,458,63],{"class":62},[52,460,461],{"class":66},"error",[52,463,111],{"class":110},[52,465,466],{"class":76}," 'Authentication required'",[52,468,469],{"class":62}," }\n",[52,471,472],{"class":54,"line":117},[52,473,151],{"class":62},[10,475,476,477,480,481,484],{},"If you want different behavior (e.g. enforce ",[29,478,479],{},"auth: 'user'"," for APIs), add your own Nitro middleware and\u002For call ",[29,482,483],{},"requireUserSession(event)"," directly inside handlers.",[42,486,489],{"className":44,"code":487,"filename":488,"language":47,"meta":48,"style":48},"export default defineEventHandler(async (event) => {\n  await requireUserSession(event)\n  return { ok: true }\n})\n","server\u002Fapi\u002Fsecret.get.ts",[29,490,491,513,527,544],{"__ignoreMap":48},[52,492,493,495,497,499,501,503,505,507,509,511],{"class":54,"line":55},[52,494,90],{"class":58},[52,496,94],{"class":93},[52,498,289],{"class":97},[52,500,292],{"class":62},[52,502,295],{"class":58},[52,504,298],{"class":62},[52,506,302],{"class":301},[52,508,305],{"class":62},[52,510,308],{"class":58},[52,512,311],{"class":62},[52,514,515,518,521,523,525],{"class":54,"line":80},[52,516,517],{"class":58},"  await",[52,519,520],{"class":97}," requireUserSession",[52,522,292],{"class":62},[52,524,302],{"class":66},[52,526,337],{"class":62},[52,528,529,532,534,537,539,542],{"class":54,"line":87},[52,530,531],{"class":58},"  return",[52,533,63],{"class":62},[52,535,536],{"class":66},"ok",[52,538,111],{"class":110},[52,540,541],{"class":399}," true",[52,543,469],{"class":62},[52,545,546],{"class":54,"line":104},[52,547,151],{"class":62},[14,549,551],{"id":550},"default-login-route","Default login route",[10,553,554,555,558,559,562],{},"Unauthenticated users are redirected to ",[29,556,557],{},"\u002Flogin"," when a page requires auth. To use another path, set ",[29,560,561],{},"redirectTo"," on the protected route rule (or page meta auth object).",[564,565,566,567,569],"warning",{},"If your ",[29,568,561],{}," target does not exist, users will be redirected to a 404 page. Ensure redirect targets are valid app routes.",[14,571,573],{"id":572},"rate-limiting","Rate limiting",[10,575,576,577,584],{},"Better Auth includes a ",[578,579,583],"a",{"href":580,"rel":581},"https:\u002F\u002Fwww.better-auth.com\u002Fdocs\u002Fconcepts\u002Frate-limit",[582],"nofollow","built-in rate limiter",". It is enabled by default in production with a 60-second window and a maximum of 100 requests. It is disabled by default in development.",[10,586,587],{},"Rate-limit data is stored in memory by default. For serverless or multi-instance deployments, configure Better Auth to use database, secondary storage, or custom storage so instances do not rely on separate in-memory counters.",[589,590],"read-more",{"title":591,"to":592},"Production Deployment","\u002Fguides\u002Fproduction-deployment",[14,594,596],{"id":595},"devtools-in-production","DevTools in production",[10,598,599,600,603,604,607],{},"DevTools are automatically disabled when ",[29,601,602],{},"NODE_ENV=production",". The ",[29,605,606],{},"\u002Fapi\u002F_better-auth\u002F*"," endpoints and devtools page are never registered in production builds.",[609,610,611],"style",{},"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}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 .sgisi, html code.shiki .sgisi{--shiki-light:#383A42;--shiki-light-font-style:inherit;--shiki-default:#FF7EDB;--shiki-default-font-style:italic;--shiki-dark:#FF7EDB;--shiki-dark-font-style:italic}html pre.shiki code .s6Rhl, html code.shiki .s6Rhl{--shiki-light:#986801;--shiki-default:#FF7EDB;--shiki-dark:#FF7EDB}html pre.shiki code .sQBpM, html code.shiki .sQBpM{--shiki-light:#0184BC;--shiki-default:#FFFFFFEE;--shiki-dark:#FFFFFFEE}html pre.shiki code .sn-Jc, html code.shiki .sn-Jc{--shiki-light:#0184BC;--shiki-default:#FEDE5D;--shiki-dark:#FEDE5D}html pre.shiki code .svFNh, html code.shiki .svFNh{--shiki-light:#383A42;--shiki-default:#FF7EDB;--shiki-dark:#FF7EDB}html pre.shiki code .s3ZNE, html code.shiki .s3ZNE{--shiki-light:#986801;--shiki-default:#F97E72;--shiki-dark:#F97E72}html pre.shiki code .st7cf, html code.shiki .st7cf{--shiki-light:#A0A1A7;--shiki-light-font-style:italic;--shiki-default:#848BBD;--shiki-default-font-style:italic;--shiki-dark:#848BBD;--shiki-dark-font-style:italic}",{"title":48,"searchDepth":80,"depth":80,"links":613},[614,615,616,619,620,621],{"id":16,"depth":80,"text":17},{"id":23,"depth":80,"text":24},{"id":161,"depth":80,"text":162,"children":617},[618],{"id":244,"depth":87,"text":245},{"id":550,"depth":80,"text":551},{"id":572,"depth":80,"text":573},{"id":595,"depth":80,"text":596},"What is enforced where, and what you should not assume.","md",null,{},"\u002Fcore-concepts\u002Fsecurity-caveats",{"title":5,"description":622},"2.core-concepts\u002F5.security-caveats","7cofrVR4BFl6XnfYCMdDl6upOfCtGffPzNkd60RHgaY",[631,636],{"title":632,"path":633,"stem":634,"description":635,"children":-1},"Auto‑Imports and Aliases","\u002Fcore-concepts\u002Fauto-imports-aliases","2.core-concepts\u002F4.auto-imports-aliases","What the module registers for you.",{"title":637,"path":638,"stem":639,"description":640,"children":-1},"Role‑Based Access","\u002Fguides\u002Frole-based-access","3.guides\u002F1.role-based-access","Protect routes using generic field matching on AuthUser.",[642,680,700,742,767,788],{"title":643,"path":644,"stem":645,"children":646,"icon":649},"Getting Started","\u002Fgetting-started","1.getting-started\u002F0.index",[647,650,655,660,665,670,675],{"title":648,"path":644,"stem":645,"icon":649},"Introduction","i-lucide-sparkles",{"title":651,"path":652,"stem":653,"icon":654},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F1.installation","i-lucide-download",{"title":656,"path":657,"stem":658,"icon":659},"Configuration","\u002Fgetting-started\u002Fconfiguration","1.getting-started\u002F2.configuration","i-lucide-settings",{"title":661,"path":662,"stem":663,"icon":664},"Client Setup","\u002Fgetting-started\u002Fclient-setup","1.getting-started\u002F3.client-setup","i-lucide-monitor",{"title":666,"path":667,"stem":668,"icon":669},"Type Augmentation","\u002Fgetting-started\u002Ftype-augmentation","1.getting-started\u002F4.type-augmentation","i-lucide-type",{"title":671,"path":672,"stem":673,"icon":674},"Schema Generation (NuxtHub)","\u002Fgetting-started\u002Fschema-generation","1.getting-started\u002F5.schema-generation","i-lucide-database",{"title":676,"path":677,"stem":678,"icon":679},"How It Works","\u002Fgetting-started\u002Fhow-it-works","1.getting-started\u002F6.how-it-works","i-lucide-workflow",{"title":681,"path":682,"stem":683,"children":684,"page":699},"Core Concepts","\u002Fcore-concepts","2.core-concepts",[685,689,693,697,698],{"title":686,"path":687,"stem":688},"serverAuth()","\u002Fcore-concepts\u002Fserver-auth","2.core-concepts\u002F1.server-auth",{"title":690,"path":691,"stem":692},"Sessions","\u002Fcore-concepts\u002Fsessions","2.core-concepts\u002F2.sessions",{"title":694,"path":695,"stem":696},"Route Protection","\u002Fcore-concepts\u002Froute-protection","2.core-concepts\u002F3.route-protection",{"title":632,"path":633,"stem":634},{"title":5,"path":626,"stem":628},false,{"title":701,"path":702,"stem":703,"children":704,"page":699},"Guides","\u002Fguides","3.guides",[705,706,711,715,719,723,728,732,736,740],{"title":637,"path":638,"stem":639},{"title":707,"path":708,"stem":709,"icon":710},"Setup diagnostics","\u002Fguides\u002Fdiagnostics","3.guides\u002F10.diagnostics","i-lucide-circle-alert",{"title":712,"path":713,"stem":714},"OAuth Providers","\u002Fguides\u002Foauth-providers","3.guides\u002F2.oauth-providers",{"title":716,"path":717,"stem":718},"Custom Database","\u002Fguides\u002Fcustom-database","3.guides\u002F3.custom-database",{"title":720,"path":721,"stem":722},"Database-less Mode","\u002Fguides\u002Fdatabase-less-mode","3.guides\u002F4.database-less-mode",{"title":724,"path":725,"stem":726,"icon":727},"External Auth Backend","\u002Fguides\u002Fexternal-auth-backend","3.guides\u002F5.external-auth-backend","i-lucide-server",{"title":729,"path":730,"stem":731},"Migrating from nuxt-auth-utils","\u002Fguides\u002Fmigrate-from-nuxt-auth-utils","3.guides\u002F6.migrate-from-nuxt-auth-utils",{"title":733,"path":734,"stem":735},"Two-Factor Authentication (TOTP + Backup Codes)","\u002Fguides\u002Ftwo-factor-auth","3.guides\u002F7.two-factor-auth",{"title":737,"path":738,"stem":739},"Testing","\u002Fguides\u002Ftesting","3.guides\u002F8.testing",{"title":591,"path":592,"stem":741},"3.guides\u002F9.production-deployment",{"title":743,"path":744,"stem":745,"children":746,"page":699},"Integrations","\u002Fintegrations","4.integrations",[747,751,755,759,763],{"title":748,"path":749,"stem":750},"NuxtHub","\u002Fintegrations\u002Fnuxthub","4.integrations\u002F1.nuxthub",{"title":752,"path":753,"stem":754},"DevTools","\u002Fintegrations\u002Fdevtools","4.integrations\u002F2.devtools",{"title":756,"path":757,"stem":758},"Convex","\u002Fintegrations\u002Fconvex","4.integrations\u002F3.convex",{"title":760,"path":761,"stem":762},"i18n","\u002Fintegrations\u002Fi18n","4.integrations\u002F4.i18n",{"title":764,"path":765,"stem":766},"MCP","\u002Fintegrations\u002Fmcp","4.integrations\u002F5.mcp",{"title":768,"path":769,"stem":770,"children":771,"page":699},"API Reference","\u002Fapi","5.api",[772,776,780,784],{"title":773,"path":774,"stem":775},"Composables","\u002Fapi\u002Fcomposables","5.api\u002F1.composables",{"title":777,"path":778,"stem":779},"Server Utilities","\u002Fapi\u002Fserver-utils","5.api\u002F2.server-utils",{"title":781,"path":782,"stem":783},"Components","\u002Fapi\u002Fcomponents","5.api\u002F3.components",{"title":785,"path":786,"stem":787},"Types","\u002Fapi\u002Ftypes","5.api\u002F4.types",{"title":789,"path":790,"stem":791,"children":792,"icon":710},"Errors","\u002Ferrors","6.errors\u002F0.index",[793,795,799,803,807,811,815,819,823,827,831,835,839,843],{"title":794,"path":790,"stem":791},"Overview",{"title":796,"path":797,"stem":798},"Better Auth CLI is not installed","\u002Ferrors\u002Fnuxt-auth-cli-missing","6.errors\u002Fnuxt-auth-cli-missing",{"title":800,"path":801,"stem":802},"Better Auth CLI version does not match better-auth","\u002Ferrors\u002Fnuxt-auth-cli-version-mismatch","6.errors\u002Fnuxt-auth-cli-version-mismatch",{"title":804,"path":805,"stem":806},"Auth configuration failed to load","\u002Ferrors\u002Fnuxt-auth-config-load-failed","6.errors\u002Fnuxt-auth-config-load-failed",{"title":808,"path":809,"stem":810},"Schema generator returned no code","\u002Ferrors\u002Fnuxt-auth-empty-schema","6.errors\u002Fnuxt-auth-empty-schema",{"title":812,"path":813,"stem":814},"Invalid server auth config export","\u002Ferrors\u002Fnuxt-auth-invalid-config-export","6.errors\u002Fnuxt-auth-invalid-config-export",{"title":816,"path":817,"stem":818},"Auth plugin path must be absolute","\u002Ferrors\u002Fnuxt-auth-invalid-plugin-source","6.errors\u002Fnuxt-auth-invalid-plugin-source",{"title":820,"path":821,"stem":822},"Missing auth configuration","\u002Ferrors\u002Fnuxt-auth-missing-config","6.errors\u002Fnuxt-auth-missing-config",{"title":824,"path":825,"stem":826},"NuxtHub database alias is missing","\u002Ferrors\u002Fnuxt-auth-missing-hub-db","6.errors\u002Fnuxt-auth-missing-hub-db",{"title":828,"path":829,"stem":830},"No database provider is enabled","\u002Ferrors\u002Fnuxt-auth-no-database-provider","6.errors\u002Fnuxt-auth-no-database-provider",{"title":832,"path":833,"stem":834},"Auth schema generation failed","\u002Ferrors\u002Fnuxt-auth-schema-generation-failed","6.errors\u002Fnuxt-auth-schema-generation-failed",{"title":836,"path":837,"stem":838},"Custom session storage is missing","\u002Ferrors\u002Fnuxt-auth-schema-storage-required","6.errors\u002Fnuxt-auth-schema-storage-required",{"title":840,"path":841,"stem":842},"Secondary storage in client-only mode","\u002Ferrors\u002Fnuxt-auth-storage-client-only","6.errors\u002Fnuxt-auth-storage-client-only",{"title":844,"path":845,"stem":846},"Unsupported database dialect","\u002Ferrors\u002Fnuxt-auth-unsupported-dialect","6.errors\u002Fnuxt-auth-unsupported-dialect",1796466344962,"ec3cdde9-5e25-47cb-995a-ff2cbe6ed674"]