[{"data":1,"prerenderedAt":311},["ShallowReactive",2],{"navigation_docs":3,"-better-auth-plugins":129,"-better-auth-plugins-surround":170,"$fa9jRipRCUscY-C-e_0Fj2I8K4OXSnD0XJ8YUDsa0bTo":175},[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":122,"body":131,"description":163,"extension":164,"links":165,"meta":166,"navigation":167,"path":123,"seo":168,"stem":124,"__hash__":169},"docs/6.better-auth/2.plugins.md",{"type":132,"value":133,"toc":159},"minimark",[134,147],[135,136,137,138,142,143,146],"p",{},"Plugins are configured in your ",[139,140,141],"code",{},"server/auth.config.ts"," (via ",[139,144,145],{},"defineServerAuth",").",[148,149,150],"better-auth-plugins",{},[135,151,152,153],{},"See also: ",[154,155,156],"a",{"href":156,"rel":157},"https://www.better-auth.com/docs/concepts/plugins",[158],"nofollow",{"title":160,"searchDepth":161,"depth":161,"links":162},"",2,[],"Better Auth plugins (server-side) with doc links and matching client plugins.","md",null,{},true,{"title":122,"description":163},"aT2l0S587n82WuHAUAq3Drb0zbep7V-4_QyEs5x0kf8",[171,173],{"title":118,"path":119,"stem":120,"description":172,"children":-1},"List of social OAuth providers with links to Better Auth docs.",{"title":126,"path":127,"stem":128,"description":174,"children":-1},"List of exports from better-auth/client/plugins.",[176,179,183,187,191,195,199,203,207,211,215,219,223,227,231,235,239,243,247,251,255,259,263,267,271,275,279,283,287,291,295,299,303,307],{"slug":177,"name":177,"href":178},"2fa","https://www.better-auth.com/docs/plugins/2fa",{"slug":180,"name":181,"href":182},"admin","Admin","https://www.better-auth.com/docs/plugins/admin",{"slug":184,"name":185,"href":186},"anonymous","Anonymous","https://www.better-auth.com/docs/plugins/anonymous",{"slug":188,"name":189,"href":190},"api-key","API Key","https://www.better-auth.com/docs/plugins/api-key",{"slug":192,"name":193,"href":194},"autumn","Autumn","https://www.better-auth.com/docs/plugins/autumn",{"slug":196,"name":197,"href":198},"bearer","Bearer","https://www.better-auth.com/docs/plugins/bearer",{"slug":200,"name":201,"href":202},"captcha","Captcha","https://www.better-auth.com/docs/plugins/captcha",{"slug":204,"name":205,"href":206},"community-plugins","Community Plugins","https://www.better-auth.com/docs/plugins/community-plugins",{"slug":208,"name":209,"href":210},"creem","Creem","https://www.better-auth.com/docs/plugins/creem",{"slug":212,"name":213,"href":214},"device-authorization","Device Authorization","https://www.better-auth.com/docs/plugins/device-authorization",{"slug":216,"name":217,"href":218},"dodopayments","Dodopayments","https://www.better-auth.com/docs/plugins/dodopayments",{"slug":220,"name":221,"href":222},"dub","Dub","https://www.better-auth.com/docs/plugins/dub",{"slug":224,"name":225,"href":226},"email-otp","Email Otp","https://www.better-auth.com/docs/plugins/email-otp",{"slug":228,"name":229,"href":230},"generic-oauth","Generic OAuth","https://www.better-auth.com/docs/plugins/generic-oauth",{"slug":232,"name":233,"href":234},"have-i-been-pwned","Have I Been Pwned","https://www.better-auth.com/docs/plugins/have-i-been-pwned",{"slug":236,"name":237,"href":238},"jwt","Jwt","https://www.better-auth.com/docs/plugins/jwt",{"slug":240,"name":241,"href":242},"last-login-method","Last Login Method","https://www.better-auth.com/docs/plugins/last-login-method",{"slug":244,"name":245,"href":246},"magic-link","Magic Link","https://www.better-auth.com/docs/plugins/magic-link",{"slug":248,"name":249,"href":250},"mcp","Mcp","https://www.better-auth.com/docs/plugins/mcp",{"slug":252,"name":253,"href":254},"multi-session","Multi Session","https://www.better-auth.com/docs/plugins/multi-session",{"slug":256,"name":257,"href":258},"oauth-proxy","OAuth Proxy","https://www.better-auth.com/docs/plugins/oauth-proxy",{"slug":260,"name":261,"href":262},"oidc-provider","OIDC Provider","https://www.better-auth.com/docs/plugins/oidc-provider",{"slug":264,"name":265,"href":266},"one-tap","One Tap","https://www.better-auth.com/docs/plugins/one-tap",{"slug":268,"name":269,"href":270},"one-time-token","One Time Token","https://www.better-auth.com/docs/plugins/one-time-token",{"slug":272,"name":273,"href":274},"open-api","Open API","https://www.better-auth.com/docs/plugins/open-api",{"slug":276,"name":277,"href":278},"organization","Organization","https://www.better-auth.com/docs/plugins/organization",{"slug":280,"name":281,"href":282},"passkey","Passkey","https://www.better-auth.com/docs/plugins/passkey",{"slug":284,"name":285,"href":286},"phone-number","Phone Number","https://www.better-auth.com/docs/plugins/phone-number",{"slug":288,"name":289,"href":290},"polar","Polar","https://www.better-auth.com/docs/plugins/polar",{"slug":292,"name":293,"href":294},"scim","Scim","https://www.better-auth.com/docs/plugins/scim",{"slug":296,"name":297,"href":298},"siwe","Siwe","https://www.better-auth.com/docs/plugins/siwe",{"slug":300,"name":301,"href":302},"sso","Sso","https://www.better-auth.com/docs/plugins/sso",{"slug":304,"name":305,"href":306},"stripe","Stripe","https://www.better-auth.com/docs/plugins/stripe",{"slug":308,"name":309,"href":310},"username","Username","https://www.better-auth.com/docs/plugins/username",1765664062752]