[{"data":1,"prerenderedAt":324},["ShallowReactive",2],{"navigation_docs":3,"-troubleshooting-faq":129,"-troubleshooting-faq-surround":319},[4,34,63,80,101,110],{"title":5,"path":6,"stem":7,"children":8,"page":33},"Getting Started","/getting-started","1.getting-started",[9,13,17,21,25,29],{"title":10,"path":11,"stem":12},"Quickstart","/getting-started/quickstart","1.getting-started/0.quickstart",{"title":14,"path":15,"stem":16},"Installation","/getting-started/installation","1.getting-started/1.installation",{"title":18,"path":19,"stem":20},"Server Configuration","/getting-started/configuration","1.getting-started/2.configuration",{"title":22,"path":23,"stem":24},"Client Setup","/getting-started/client-setup","1.getting-started/3.client-setup",{"title":26,"path":27,"stem":28},"Type Augmentation","/getting-started/type-augmentation","1.getting-started/4.type-augmentation",{"title":30,"path":31,"stem":32},"Schema Generation","/getting-started/schema-generation","1.getting-started/5.schema-generation",false,{"title":35,"path":36,"stem":37,"children":38,"page":33},"Core Concepts","/core-concepts","2.core-concepts",[39,43,47,51,55,59],{"title":40,"path":41,"stem":42},"How It Works","/core-concepts/how-it-works","2.core-concepts/0.how-it-works",{"title":44,"path":45,"stem":46},"`serverAuth()`","/core-concepts/server-auth","2.core-concepts/1.server-auth",{"title":48,"path":49,"stem":50},"Sessions","/core-concepts/sessions","2.core-concepts/2.sessions",{"title":52,"path":53,"stem":54},"Route Protection","/core-concepts/route-protection","2.core-concepts/3.route-protection",{"title":56,"path":57,"stem":58},"Auto‑Imports and Aliases","/core-concepts/auto-imports-aliases","2.core-concepts/4.auto-imports-aliases",{"title":60,"path":61,"stem":62},"Security & Caveats","/core-concepts/security-caveats","2.core-concepts/5.security-caveats",{"title":64,"path":65,"stem":66,"children":67,"page":33},"Guides","/guides","3.guides",[68,72,76],{"title":69,"path":70,"stem":71},"Role‑Based Access","/guides/role-based-access","3.guides/1.role-based-access",{"title":73,"path":74,"stem":75},"Protecting API Routes","/guides/api-protection","3.guides/2.api-protection",{"title":77,"path":78,"stem":79},"Database Dialects","/guides/custom-dialects","3.guides/3.custom-dialects",{"title":81,"path":82,"stem":83,"children":84,"page":33},"API Reference","/api","4.api",[85,89,93,97],{"title":86,"path":87,"stem":88},"Composables","/api/composables","4.api/1.composables",{"title":90,"path":91,"stem":92},"Server Utilities","/api/server-utils","4.api/2.server-utils",{"title":94,"path":95,"stem":96},"Components","/api/components","4.api/3.components",{"title":98,"path":99,"stem":100},"Types","/api/types","4.api/4.types",{"title":102,"path":103,"stem":104,"children":105,"page":33},"Troubleshooting","/troubleshooting","5.troubleshooting",[106],{"title":107,"path":108,"stem":109},"FAQ","/troubleshooting/faq","5.troubleshooting/1.faq",{"title":111,"path":112,"stem":113,"children":114},"Better Auth","/better-auth","6.better-auth",[115,117,121,125],{"title":111,"path":112,"stem":116},"6.better-auth/index",{"title":118,"path":119,"stem":120},"OAuth & Social Providers","/better-auth/oauth","6.better-auth/1.oauth",{"title":122,"path":123,"stem":124},"Plugins","/better-auth/plugins","6.better-auth/2.plugins",{"title":126,"path":127,"stem":128},"Client Plugins (Exports)","/better-auth/client-plugins","6.better-auth/3.client-plugins",{"id":130,"title":107,"body":131,"description":312,"extension":313,"links":314,"meta":315,"navigation":316,"path":108,"seo":317,"stem":109,"__hash__":318},"docs/5.troubleshooting/1.faq.md",{"type":132,"value":133,"toc":302},"minimark",[134,139,153,178,182,193,197,206,210,213,260,263,270,279,283,298],[135,136,138],"h2",{"id":137},"nuxthub-version-requirement","NuxtHub version requirement",[140,141,142,143,147,148,152],"p",{},"This module requires ",[144,145,146],"code",{},"@nuxthub/core"," version ",[149,150,151],"strong",{},"0.10.0"," or higher. Earlier versions may not work correctly with the database schema generation.",[154,155,160],"pre",{"className":156,"code":157,"language":158,"meta":159,"style":159},"language-bash shiki shiki-themes vitesse-light vitesse-dark vitesse-dark","pnpm add @nuxthub/core@latest\n","bash","",[144,161,162],{"__ignoreMap":159},[163,164,167,171,175],"span",{"class":165,"line":166},"line",1,[163,168,170],{"class":169},"slgps","pnpm",[163,172,174],{"class":173},"sTpu4"," add",[163,176,177],{"class":173}," @nuxthub/core@latest\n",[135,179,181],{"id":180},"missing-serverauthconfigts","\"Missing server/auth.config.ts\"",[140,183,184,185,188,189,192],{},"The module validates config files at build time.\nCreate ",[144,186,187],{},"server/auth.config.ts"," exporting ",[144,190,191],{},"defineServerAuth(...)",".",[135,194,196],{"id":195},"missing-appauthclientts","\"Missing app/auth.client.ts\"",[140,198,199,200,188,203,192],{},"Create ",[144,201,202],{},"app/auth.client.ts",[144,204,205],{},"createAppAuthClient(baseURL)",[135,207,209],{"id":208},"no-schema-file-is-generated","No schema file is generated",[140,211,212],{},"Ensure NuxtHub DB is enabled and dialect is supported:",[154,214,218],{"className":215,"code":216,"language":217,"meta":159,"style":159},"language-ts shiki shiki-themes vitesse-light vitesse-dark vitesse-dark","hub: { db: { dialect: 'sqlite' } }\n","ts",[144,219,220],{"__ignoreMap":159},[163,221,222,225,229,232,235,237,239,242,244,248,251,254,257],{"class":165,"line":166},[163,223,224],{"class":169},"hub",[163,226,228],{"class":227},"s5YmX",":",[163,230,231],{"class":227}," {",[163,233,234],{"class":169}," db",[163,236,228],{"class":227},[163,238,231],{"class":227},[163,240,241],{"class":169}," dialect",[163,243,228],{"class":227},[163,245,247],{"class":246},"siS8b"," '",[163,249,250],{"class":173},"sqlite",[163,252,253],{"class":246},"'",[163,255,256],{"class":227}," }",[163,258,259],{"class":227}," }\n",[140,261,262],{},"Restart dev server after changing Better Auth plugins.",[135,264,266,269],{"id":265},"routerules-changes-dont-apply",[144,267,268],{},"routeRules"," changes don't apply",[140,271,272,274,275,278],{},[144,273,268],{}," are synced to page meta during ",[144,276,277],{},"pages:extend",".\nRestart dev server after updating route rules.",[135,280,282],{"id":281},"api-routes-arent-protected","API routes aren't protected",[140,284,285,286,289,290,293,294,297],{},"Only ",[144,287,288],{},"routeRules.role"," is enforced for ",[144,291,292],{},"/api/**",".\nUse ",[144,295,296],{},"role"," rules or add your own Nitro middleware.",[299,300,301],"style",{},"html pre.shiki code .slgps, html code.shiki .slgps{--shiki-light:#59873A;--shiki-default:#80A665;--shiki-dark:#80A665}html pre.shiki code .sTpu4, html code.shiki .sTpu4{--shiki-light:#B56959;--shiki-default:#C98A7D;--shiki-dark:#C98A7D}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 .s5YmX, html code.shiki .s5YmX{--shiki-light:#999999;--shiki-default:#666666;--shiki-dark:#666666}html pre.shiki code .siS8b, html code.shiki .siS8b{--shiki-light:#B5695977;--shiki-default:#C98A7D77;--shiki-dark:#C98A7D77}",{"title":159,"searchDepth":303,"depth":303,"links":304},2,[305,306,307,308,309,311],{"id":137,"depth":303,"text":138},{"id":180,"depth":303,"text":181},{"id":195,"depth":303,"text":196},{"id":208,"depth":303,"text":209},{"id":265,"depth":303,"text":310},"routeRules changes don't apply",{"id":281,"depth":303,"text":282},"Common issues and fixes.","md",null,{},true,{"title":107,"description":312},"tTdFhl0xbA_vckI3JWIrdHCAa5dcDsoVpg_VRQvztiI",[320,322],{"title":98,"path":99,"stem":100,"description":321,"children":-1},"Public types and route rule shapes.",{"title":111,"path":112,"stem":116,"description":323,"children":-1},"Jump-off point to Better Auth providers and plugins.",1765664062540]