[{"data":1,"prerenderedAt":3041},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:hiAFjWE61YVNdPorgqTRVEVSPV40-Xiaf-4c1NcPs5o":651,"content-page-surround:docs:hiAFjWE61YVNdPorgqTRVEVSPV40-Xiaf-4c1NcPs5o":3024,"i-lucide:terminal":3029,"i-logos:vue":3033,"i-logos:typescript-icon":3037,"i-lucide:clipboard":3039},[4,41,110,418,485,550,601,646],{"title":5,"page":6,"canonicalKey":7,"locale":8,"id":9,"draft":6,"icon":10,"sidebar":11,"children":12},"Learn",false,"1","en","content:docs:1.overview:.navigation.yml","i-lucide-book-open","section",[13,20,27,34],{"title":14,"id":15,"canonicalKey":16,"locale":8,"draft":6,"navigation":17,"icon":18,"path":19},"Better Convex Nuxt","content:docs:1.overview:1.introduction.md","1\u002F1",{"icon":18},"i-lucide-orbit","\u002Fdocs\u002Foverview\u002Fintroduction",{"title":21,"id":22,"canonicalKey":23,"locale":8,"draft":6,"navigation":24,"icon":25,"path":26},"Who it is for","content:docs:1.overview:2.who-it-is-for.md","1\u002F2",{"icon":25},"i-lucide-users","\u002Fdocs\u002Foverview\u002Fwho-it-is-for",{"title":28,"id":29,"canonicalKey":30,"locale":8,"draft":6,"navigation":31,"icon":32,"path":33},"Limitations and trade-offs","content:docs:1.overview:3.limitations.md","1\u002F3",{"icon":32},"i-lucide-triangle-alert","\u002Fdocs\u002Foverview\u002Flimitations",{"title":35,"id":36,"canonicalKey":37,"locale":8,"draft":6,"navigation":38,"icon":39,"path":40},"Compare Nuxt integrations","content:docs:1.overview:4.comparison.md","1\u002F4",{"icon":39},"i-lucide-scale","\u002Fdocs\u002Foverview\u002Fcomparison",{"title":42,"page":6,"canonicalKey":43,"locale":8,"id":44,"draft":6,"icon":45,"children":46},"Get started","2","content:docs:2.get-started:.navigation.yml","i-lucide-rocket",[47,54,61,68,75,82,89,96,103],{"title":48,"id":49,"canonicalKey":50,"locale":8,"draft":6,"navigation":51,"icon":52,"path":53},"Choose your path","content:docs:2.get-started:1.choose-your-path.md","2\u002F1",{"icon":52},"i-lucide-signpost","\u002Fdocs\u002Fget-started\u002Fchoose-your-path",{"title":55,"id":56,"canonicalKey":57,"locale":8,"draft":6,"navigation":58,"icon":59,"path":60},"Installation","content:docs:2.get-started:2.installation.md","2\u002F2",{"icon":59},"i-lucide-download","\u002Fdocs\u002Fget-started\u002Finstallation",{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":6,"navigation":65,"icon":66,"path":67},"First real-time page","content:docs:2.get-started:3.first-realtime-page.md","2\u002F3",{"icon":66},"i-lucide-radio","\u002Fdocs\u002Fget-started\u002Ffirst-realtime-page",{"title":69,"id":70,"canonicalKey":71,"locale":8,"draft":6,"navigation":72,"icon":73,"path":74},"Add a mutation","content:docs:2.get-started:4.add-a-mutation.md","2\u002F4",{"icon":73},"i-lucide-square-pen","\u002Fdocs\u002Fget-started\u002Fadd-a-mutation",{"title":76,"id":77,"canonicalKey":78,"locale":8,"draft":6,"navigation":79,"icon":80,"path":81},"Add authentication","content:docs:2.get-started:5.add-authentication.md","2\u002F5",{"icon":80},"i-lucide-log-in","\u002Fdocs\u002Fget-started\u002Fadd-authentication",{"title":83,"id":84,"canonicalKey":85,"locale":8,"draft":6,"navigation":86,"icon":87,"path":88},"Protect data","content:docs:2.get-started:6.protect-data.md","2\u002F6",{"icon":87},"i-lucide-shield-check","\u002Fdocs\u002Fget-started\u002Fprotect-data",{"title":90,"id":91,"canonicalKey":92,"locale":8,"draft":6,"navigation":93,"icon":94,"path":95},"Project structure","content:docs:2.get-started:7.project-structure.md","2\u002F7",{"icon":94},"i-lucide-folder-tree","\u002Fdocs\u002Fget-started\u002Fproject-structure",{"title":97,"id":98,"canonicalKey":99,"locale":8,"draft":6,"navigation":100,"icon":101,"path":102},"Next steps","content:docs:2.get-started:8.next-steps.md","2\u002F8",{"icon":101},"i-lucide-arrow-right","\u002Fdocs\u002Fget-started\u002Fnext-steps",{"title":104,"id":105,"canonicalKey":106,"locale":8,"draft":6,"navigation":107,"icon":108,"path":109},"Plain Vue and Vite","content:docs:2.get-started:9.plain-vue.md","2\u002F9",{"icon":108},"i-lucide-panels-top-left","\u002Fdocs\u002Fget-started\u002Fplain-vue",{"title":111,"page":6,"canonicalKey":112,"locale":8,"id":113,"draft":6,"icon":114,"sidebar":11,"children":115},"Build","3","content:docs:3.build:.navigation.yml","i-lucide-blocks",[116,154,199,292,324,349,388],{"title":117,"page":6,"canonicalKey":118,"locale":8,"children":119},"Queries","3\u002F1",[120,126,133,140,147],{"title":117,"id":121,"canonicalKey":122,"locale":8,"draft":6,"navigation":123,"icon":124,"path":125},"content:docs:3.build:1.queries:1.queries.md","3\u002F1\u002F1",{"icon":124},"i-lucide-database","\u002Fdocs\u002Fbuild\u002Fqueries\u002Fqueries",{"title":127,"id":128,"canonicalKey":129,"locale":8,"draft":6,"navigation":130,"icon":131,"path":132},"Reactive arguments","content:docs:3.build:1.queries:2.reactive-arguments.md","3\u002F1\u002F2",{"icon":131},"i-lucide-sliders-horizontal","\u002Fdocs\u002Fbuild\u002Fqueries\u002Freactive-arguments",{"title":134,"id":135,"canonicalKey":136,"locale":8,"draft":6,"navigation":137,"icon":138,"path":139},"Loading and stale data","content:docs:3.build:1.queries:3.loading-and-stale-data.md","3\u002F1\u002F3",{"icon":138},"i-lucide-loader-circle","\u002Fdocs\u002Fbuild\u002Fqueries\u002Floading-and-stale-data",{"title":141,"id":142,"canonicalKey":143,"locale":8,"draft":6,"navigation":144,"icon":145,"path":146},"Query execution options","content:docs:3.build:1.queries:4.ssr-options.md","3\u002F1\u002F4",{"icon":145},"i-lucide-server-cog","\u002Fdocs\u002Fbuild\u002Fqueries\u002Fssr-options",{"title":148,"id":149,"canonicalKey":150,"locale":8,"draft":6,"navigation":151,"icon":152,"path":153},"Pagination","content:docs:3.build:1.queries:6.pagination.md","3\u002F1\u002F6",{"icon":152},"i-lucide-list-plus","\u002Fdocs\u002Fbuild\u002Fqueries\u002Fpagination",{"title":155,"page":6,"canonicalKey":156,"locale":8,"children":157},"Write Data","3\u002F2",[158,164,171,178,185,192],{"title":159,"id":160,"canonicalKey":161,"locale":8,"draft":6,"navigation":162,"icon":73,"path":163},"Mutations","content:docs:3.build:2.write-data:1.mutations.md","3\u002F2\u002F1",{"icon":73},"\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fmutations",{"title":165,"id":166,"canonicalKey":167,"locale":8,"draft":6,"navigation":168,"icon":169,"path":170},"Actions","content:docs:3.build:2.write-data:2.actions.md","3\u002F2\u002F2",{"icon":169},"i-lucide-zap","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Factions",{"title":172,"id":173,"canonicalKey":174,"locale":8,"draft":6,"navigation":175,"icon":176,"path":177},"Optimistic updates","content:docs:3.build:2.write-data:3.optimistic-updates.md","3\u002F2\u002F3",{"icon":176},"i-lucide-gauge","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Foptimistic-updates",{"title":179,"id":180,"canonicalKey":181,"locale":8,"draft":6,"navigation":182,"icon":183,"path":184},"Concurrent operations","content:docs:3.build:2.write-data:4.concurrent-operations.md","3\u002F2\u002F4",{"icon":183},"i-lucide-git-fork","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fconcurrent-operations",{"title":186,"id":187,"canonicalKey":188,"locale":8,"draft":6,"navigation":189,"icon":190,"path":191},"Form submissions","content:docs:3.build:2.write-data:5.forms.md","3\u002F2\u002F5",{"icon":190},"i-lucide-list-checks","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fforms",{"title":193,"id":194,"canonicalKey":195,"locale":8,"draft":6,"navigation":196,"icon":197,"path":198},"Multi-step operations","content:docs:3.build:2.write-data:6.multi-step-operations.md","3\u002F2\u002F6",{"icon":197},"i-lucide-list-ordered","\u002Fdocs\u002Fbuild\u002Fwrite-data\u002Fmulti-step-operations",{"title":200,"page":6,"canonicalKey":201,"locale":8,"children":202},"Authentication","3\u002F3",[203,209,216,223,229,236,243,250,257,264,271,278,285],{"title":200,"id":204,"canonicalKey":205,"locale":8,"draft":6,"navigation":206,"icon":207,"path":208},"content:docs:3.build:3.authentication:1.overview.md","3\u002F3\u002F1",{"icon":207},"i-lucide-shield","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Foverview",{"title":210,"id":211,"canonicalKey":212,"locale":8,"draft":6,"navigation":213,"icon":214,"path":215},"Better Auth setup","content:docs:3.build:3.authentication:2.better-auth-setup.md","3\u002F3\u002F2",{"icon":214},"i-lucide-settings-2","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-setup",{"title":217,"id":218,"canonicalKey":219,"locale":8,"draft":6,"navigation":220,"icon":221,"path":222},"Auth state and user data","content:docs:3.build:3.authentication:3.auth-state-and-user.md","3\u002F3\u002F3",{"icon":221},"i-lucide-user-round","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fauth-state-and-user",{"title":224,"id":225,"canonicalKey":226,"locale":8,"draft":6,"navigation":227,"icon":80,"path":228},"Sign in and sign out","content:docs:3.build:3.authentication:4.sign-in-and-sign-out.md","3\u002F3\u002F4",{"icon":80},"\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fsign-in-and-sign-out",{"title":230,"id":231,"canonicalKey":232,"locale":8,"draft":6,"navigation":233,"icon":234,"path":235},"Route protection","content:docs:3.build:3.authentication:5.route-protection.md","3\u002F3\u002F5",{"icon":234},"i-lucide-route","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Froute-protection",{"title":237,"id":238,"canonicalKey":239,"locale":8,"draft":6,"navigation":240,"icon":241,"path":242},"Backend authorization","content:docs:3.build:3.authentication:6.backend-authorization.md","3\u002F3\u002F6",{"icon":241},"i-lucide-lock-keyhole","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbackend-authorization",{"title":244,"id":245,"canonicalKey":246,"locale":8,"draft":6,"navigation":247,"icon":248,"path":249},"Better Auth plugins","content:docs:3.build:3.authentication:7.better-auth-plugins.md","3\u002F3\u002F7",{"icon":248},"i-lucide-plug","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-plugins",{"title":251,"id":252,"canonicalKey":253,"locale":8,"draft":6,"navigation":254,"icon":255,"path":256},"Custom user fields","content:docs:3.build:3.authentication:8.custom-user-fields.md","3\u002F3\u002F8",{"icon":255},"i-lucide-user-cog","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fcustom-user-fields",{"title":258,"id":259,"canonicalKey":260,"locale":8,"draft":6,"navigation":261,"icon":262,"path":263},"User synchronization","content:docs:3.build:3.authentication:9.user-synchronization.md","3\u002F3\u002F9",{"icon":262},"i-lucide-refresh-ccw","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fuser-synchronization",{"title":265,"id":266,"canonicalKey":267,"locale":8,"draft":6,"navigation":268,"icon":269,"path":270},"Delegated OAuth and MCP","content:docs:3.build:3.authentication:10.delegated-oauth-and-mcp.md","3\u002F3\u002F10",{"icon":269},"i-lucide-bot","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fdelegated-oauth-and-mcp",{"title":272,"id":273,"canonicalKey":274,"locale":8,"draft":6,"navigation":275,"icon":276,"path":277},"Transactional auth email","content:docs:3.build:3.authentication:11.transactional-email.md","3\u002F3\u002F11",{"icon":276},"i-lucide-mail","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Ftransactional-email",{"title":279,"id":280,"canonicalKey":281,"locale":8,"draft":6,"navigation":282,"icon":283,"path":284},"Social sign-in","content:docs:3.build:3.authentication:12.social-sign-in.md","3\u002F3\u002F12",{"icon":283},"i-lucide-github","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fsocial-sign-in",{"title":286,"id":287,"canonicalKey":288,"locale":8,"draft":6,"navigation":289,"icon":290,"path":291},"Better Auth plugin support","content:docs:3.build:3.authentication:13.better-auth-plugin-support.md","3\u002F3\u002F13",{"icon":290},"i-lucide-puzzle","\u002Fdocs\u002Fbuild\u002Fauthentication\u002Fbetter-auth-plugin-support",{"title":293,"page":6,"canonicalKey":294,"locale":8,"children":295},"Server","3\u002F4",[296,303,310,317],{"title":297,"id":298,"canonicalKey":299,"locale":8,"draft":6,"navigation":300,"icon":301,"path":302},"serverConvex","content:docs:3.build:4.server:1.server-convex.md","3\u002F4\u002F1",{"icon":301},"i-lucide-server","\u002Fdocs\u002Fbuild\u002Fserver\u002Fserver-convex",{"title":304,"id":305,"canonicalKey":306,"locale":8,"draft":6,"navigation":307,"icon":308,"path":309},"Server routes","content:docs:3.build:4.server:2.server-routes.md","3\u002F4\u002F2",{"icon":308},"i-lucide-waypoints","\u002Fdocs\u002Fbuild\u002Fserver\u002Fserver-routes",{"title":311,"id":312,"canonicalKey":313,"locale":8,"draft":6,"navigation":314,"icon":315,"path":316},"Webhooks and jobs","content:docs:3.build:4.server:3.webhooks-and-jobs.md","3\u002F4\u002F3",{"icon":315},"i-lucide-webhook","\u002Fdocs\u002Fbuild\u002Fserver\u002Fwebhooks-and-jobs",{"title":318,"id":319,"canonicalKey":320,"locale":8,"draft":6,"navigation":321,"icon":322,"path":323},"Credentials and server security","content:docs:3.build:4.server:4.credentials-and-security.md","3\u002F4\u002F4",{"icon":322},"i-lucide-key-round","\u002Fdocs\u002Fbuild\u002Fserver\u002Fcredentials-and-security",{"title":325,"page":6,"canonicalKey":326,"locale":8,"children":327},"Files","3\u002F5",[328,335,342],{"title":329,"id":330,"canonicalKey":331,"locale":8,"draft":6,"navigation":332,"icon":333,"path":334},"Upload files","content:docs:3.build:5.files:1.upload-files.md","3\u002F5\u002F1",{"icon":333},"i-lucide-upload","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fupload-files",{"title":336,"id":337,"canonicalKey":338,"locale":8,"draft":6,"navigation":339,"icon":340,"path":341},"Storage URLs","content:docs:3.build:5.files:3.storage-urls.md","3\u002F5\u002F3",{"icon":340},"i-lucide-link","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fstorage-urls",{"title":343,"id":344,"canonicalKey":345,"locale":8,"draft":6,"navigation":346,"icon":347,"path":348},"File validation and deletion","content:docs:3.build:5.files:4.validation-and-deletion.md","3\u002F5\u002F4",{"icon":347},"i-lucide-file-x","\u002Fdocs\u002Fbuild\u002Ffiles\u002Fvalidation-and-deletion",{"title":350,"page":6,"canonicalKey":351,"locale":8,"children":352},"Application Behavior","3\u002F6",[353,360,367,374,381],{"title":354,"id":355,"canonicalKey":356,"locale":8,"draft":6,"navigation":357,"icon":358,"path":359},"Connection state","content:docs:3.build:6.application-behavior:1.connection-state.md","3\u002F6\u002F1",{"icon":358},"i-lucide-wifi","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fconnection-state",{"title":361,"id":362,"canonicalKey":363,"locale":8,"draft":6,"navigation":364,"icon":365,"path":366},"Error handling","content:docs:3.build:6.application-behavior:2.error-handling.md","3\u002F6\u002F2",{"icon":365},"i-lucide-circle-alert","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Ferror-handling",{"title":368,"id":369,"canonicalKey":370,"locale":8,"draft":6,"navigation":371,"icon":372,"path":373},"Logging","content:docs:3.build:6.application-behavior:3.logging.md","3\u002F6\u002F3",{"icon":372},"i-lucide-scroll-text","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Flogging",{"title":375,"id":376,"canonicalKey":377,"locale":8,"draft":6,"navigation":378,"icon":379,"path":380},"DevTools","content:docs:3.build:6.application-behavior:4.devtools.md","3\u002F6\u002F4",{"icon":379},"i-lucide-wrench","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fdevtools",{"title":382,"id":383,"canonicalKey":384,"locale":8,"draft":6,"navigation":385,"icon":386,"path":387},"Performance","content:docs:3.build:6.application-behavior:5.performance.md","3\u002F6\u002F5",{"icon":386},"i-lucide-chart-no-axes-combined","\u002Fdocs\u002Fbuild\u002Fapplication-behavior\u002Fperformance",{"title":389,"page":6,"canonicalKey":390,"locale":8,"id":391,"draft":6,"icon":269,"children":392},"Agents and MCP","3\u002F7","content:docs:3.build:7.agents:.navigation.yml",[393,400,406,412],{"title":394,"id":395,"canonicalKey":396,"locale":8,"draft":6,"navigation":397,"icon":398,"path":399},"MCP on Convex","content:docs:3.build:7.agents:1.mcp.md","3\u002F7\u002F1",{"icon":398},"i-lucide-plug-zap","\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp",{"title":401,"id":402,"canonicalKey":403,"locale":8,"draft":6,"navigation":404,"icon":248,"path":405},"Add MCP to your application","content:docs:3.build:7.agents:2.mcp-application.md","3\u002F7\u002F2",{"icon":248},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp-application",{"title":407,"id":408,"canonicalKey":409,"locale":8,"draft":6,"navigation":410,"icon":340,"path":411},"Connect ChatGPT and Claude","content:docs:3.build:7.agents:3.connect-chatgpt-and-claude.md","3\u002F7\u002F3",{"icon":340},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fconnect-chatgpt-and-claude",{"title":413,"id":414,"canonicalKey":415,"locale":8,"draft":6,"navigation":416,"icon":108,"path":417},"MCP Apps","content:docs:3.build:7.agents:4.mcp-apps.md","3\u002F7\u002F4",{"icon":108},"\u002Fdocs\u002Fbuild\u002Fagents\u002Fmcp-apps",{"title":419,"page":6,"canonicalKey":420,"locale":8,"id":421,"draft":6,"icon":422,"children":423},"Recipes","4","content:docs:4.recipes:.navigation.yml","i-lucide-cooking-pot",[424,431,438,445,452,459,466,472,478],{"title":425,"id":426,"canonicalKey":427,"locale":8,"draft":6,"navigation":428,"icon":429,"path":430},"Protected dashboard","content:docs:4.recipes:1.protected-dashboard.md","4\u002F1",{"icon":429},"i-lucide-layout-dashboard","\u002Fdocs\u002Frecipes\u002Fprotected-dashboard",{"title":432,"id":433,"canonicalKey":434,"locale":8,"draft":6,"navigation":435,"icon":436,"path":437},"Real-time feed","content:docs:4.recipes:2.realtime-feed.md","4\u002F2",{"icon":436},"i-lucide-messages-square","\u002Fdocs\u002Frecipes\u002Frealtime-feed",{"title":439,"id":440,"canonicalKey":441,"locale":8,"draft":6,"navigation":442,"icon":443,"path":444},"Optimistic todo list","content:docs:4.recipes:3.optimistic-todo-list.md","4\u002F3",{"icon":443},"i-lucide-list-todo","\u002Fdocs\u002Frecipes\u002Foptimistic-todo-list",{"title":446,"id":447,"canonicalKey":448,"locale":8,"draft":6,"navigation":449,"icon":450,"path":451},"Infinite scroll","content:docs:4.recipes:4.infinite-scroll.md","4\u002F4",{"icon":450},"i-lucide-mouse","\u002Fdocs\u002Frecipes\u002Finfinite-scroll",{"title":453,"id":454,"canonicalKey":455,"locale":8,"draft":6,"navigation":456,"icon":457,"path":458},"File upload form","content:docs:4.recipes:5.file-upload-form.md","4\u002F5",{"icon":457},"i-lucide-file-up","\u002Fdocs\u002Frecipes\u002Ffile-upload-form",{"title":460,"id":461,"canonicalKey":462,"locale":8,"draft":6,"navigation":463,"icon":464,"path":465},"Organization permissions","content:docs:4.recipes:6.organization-permissions.md","4\u002F6",{"icon":464},"i-lucide-building-2","\u002Fdocs\u002Frecipes\u002Forganization-permissions",{"title":467,"id":468,"canonicalKey":469,"locale":8,"draft":6,"navigation":470,"icon":301,"path":471},"Authenticated server route","content:docs:4.recipes:7.authenticated-server-route.md","4\u002F7",{"icon":301},"\u002Fdocs\u002Frecipes\u002Fauthenticated-server-route",{"title":473,"id":474,"canonicalKey":475,"locale":8,"draft":6,"navigation":476,"icon":108,"path":477},"Public and private data","content:docs:4.recipes:8.public-and-private-data.md","4\u002F8",{"icon":108},"\u002Fdocs\u002Frecipes\u002Fpublic-and-private-data",{"title":479,"id":480,"canonicalKey":481,"locale":8,"draft":6,"navigation":482,"icon":483,"path":484},"Test signed-in screens","content:docs:4.recipes:9.component-testing.md","4\u002F9",{"icon":483},"i-lucide-flask-conical","\u002Fdocs\u002Frecipes\u002Fcomponent-testing",{"title":486,"page":6,"canonicalKey":487,"locale":8,"id":488,"draft":6,"icon":489,"children":490},"Concepts","5","content:docs:5.concepts:.navigation.yml","i-lucide-brain",[491,497,503,510,516,523,529,536,543],{"title":492,"id":493,"canonicalKey":494,"locale":8,"draft":6,"navigation":495,"icon":489,"path":496},"Mental model","content:docs:5.concepts:1.mental-model.md","5\u002F1",{"icon":489},"\u002Fdocs\u002Fconcepts\u002Fmental-model",{"title":498,"id":499,"canonicalKey":500,"locale":8,"draft":6,"navigation":501,"icon":234,"path":502},"Request lifecycle","content:docs:5.concepts:2.request-lifecycle.md","5\u002F2",{"icon":234},"\u002Fdocs\u002Fconcepts\u002Frequest-lifecycle",{"title":504,"id":505,"canonicalKey":506,"locale":8,"draft":6,"navigation":507,"icon":508,"path":509},"SSR, hydration, and real-time","content:docs:5.concepts:3.ssr-hydration-realtime.md","5\u002F3",{"icon":508},"i-lucide-refresh-cw","\u002Fdocs\u002Fconcepts\u002Fssr-hydration-realtime",{"title":511,"id":512,"canonicalKey":513,"locale":8,"draft":6,"navigation":514,"icon":124,"path":515},"Query ownership and caching","content:docs:5.concepts:4.query-ownership-and-caching.md","5\u002F4",{"icon":124},"\u002Fdocs\u002Fconcepts\u002Fquery-ownership-and-caching",{"title":517,"id":518,"canonicalKey":519,"locale":8,"draft":6,"navigation":520,"icon":521,"path":522},"Authentication and identity","content:docs:5.concepts:5.authentication-and-identity.md","5\u002F5",{"icon":521},"i-lucide-fingerprint","\u002Fdocs\u002Fconcepts\u002Fauthentication-and-identity",{"title":524,"id":525,"canonicalKey":526,"locale":8,"draft":6,"navigation":527,"icon":108,"path":528},"Server and client boundaries","content:docs:5.concepts:6.server-and-client-boundaries.md","5\u002F6",{"icon":108},"\u002Fdocs\u002Fconcepts\u002Fserver-and-client-boundaries",{"title":530,"id":531,"canonicalKey":532,"locale":8,"draft":6,"navigation":533,"icon":534,"path":535},"Errors and failures","content:docs:5.concepts:7.errors-and-failures.md","5\u002F7",{"icon":534},"i-lucide-circle-x","\u002Fdocs\u002Fconcepts\u002Ferrors-and-failures",{"title":537,"id":538,"canonicalKey":539,"locale":8,"draft":6,"navigation":540,"icon":541,"path":542},"Design decisions","content:docs:5.concepts:8.design-decisions.md","5\u002F8",{"icon":541},"i-lucide-git-branch","\u002Fdocs\u002Fconcepts\u002Fdesign-decisions",{"title":544,"id":545,"canonicalKey":546,"locale":8,"draft":6,"navigation":547,"icon":548,"path":549},"Glossary","content:docs:5.concepts:9.glossary.md","5\u002F9",{"icon":548},"i-lucide-book-a","\u002Fdocs\u002Fconcepts\u002Fglossary",{"title":551,"page":6,"canonicalKey":552,"locale":8,"id":553,"draft":6,"icon":214,"children":554},"Operations","6","content:docs:6.operations:.navigation.yml",[555,561,568,575,581,588,594],{"title":556,"id":557,"canonicalKey":558,"locale":8,"draft":6,"navigation":559,"icon":45,"path":560},"Deployment","content:docs:6.operations:1.deployment.md","6\u002F1",{"icon":45},"\u002Fdocs\u002Foperations\u002Fdeployment",{"title":562,"id":563,"canonicalKey":564,"locale":8,"draft":6,"navigation":565,"icon":566,"path":567},"Environment variables","content:docs:6.operations:2.environment-variables.md","6\u002F2",{"icon":566},"i-lucide-variable","\u002Fdocs\u002Foperations\u002Fenvironment-variables",{"title":569,"id":570,"canonicalKey":571,"locale":8,"draft":6,"navigation":572,"icon":573,"path":574},"Deploy to Vercel","content:docs:6.operations:3.deploy-to-vercel.md","6\u002F3",{"icon":573},"i-lucide-triangle","\u002Fdocs\u002Foperations\u002Fdeploy-to-vercel",{"title":576,"id":577,"canonicalKey":578,"locale":8,"draft":6,"navigation":579,"icon":379,"path":580},"Troubleshooting","content:docs:6.operations:4.troubleshooting.md","6\u002F4",{"icon":379},"\u002Fdocs\u002Foperations\u002Ftroubleshooting",{"title":582,"id":583,"canonicalKey":584,"locale":8,"draft":6,"navigation":585,"icon":586,"path":587},"Release compatibility","content:docs:6.operations:5.release-compatibility.md","6\u002F5",{"icon":586},"i-lucide-badge-check","\u002Fdocs\u002Foperations\u002Frelease-compatibility",{"title":589,"id":590,"canonicalKey":591,"locale":8,"draft":6,"navigation":592,"icon":87,"path":593},"Security model","content:docs:6.operations:6.security-model.md","6\u002F6",{"icon":87},"\u002Fdocs\u002Foperations\u002Fsecurity-model",{"title":595,"id":596,"canonicalKey":597,"locale":8,"draft":6,"navigation":598,"icon":599,"path":600},"Upgrade to 1.0","content:docs:6.operations:7.upgrade-to-1-0.md","6\u002F7",{"icon":599},"i-lucide-arrow-up-circle","\u002Fdocs\u002Foperations\u002Fupgrade-to-1-0",{"title":602,"page":6,"canonicalKey":603,"locale":8,"id":604,"draft":6,"icon":605,"children":606},"Reference","7","content:docs:7.reference:.navigation.yml","i-lucide-braces",[607,613,619,625,632,639],{"title":608,"id":609,"canonicalKey":610,"locale":8,"draft":6,"navigation":611,"icon":605,"path":612},"Composables","content:docs:7.reference:1.composables.md","7\u002F1",{"icon":605},"\u002Fdocs\u002Freference\u002Fcomposables",{"title":614,"id":615,"canonicalKey":616,"locale":8,"draft":6,"navigation":617,"icon":301,"path":618},"Server API","content:docs:7.reference:3.server-api.md","7\u002F3",{"icon":301},"\u002Fdocs\u002Freference\u002Fserver-api",{"title":620,"id":621,"canonicalKey":622,"locale":8,"draft":6,"navigation":623,"icon":534,"path":624},"Error types","content:docs:7.reference:4.error-types.md","7\u002F4",{"icon":534},"\u002Fdocs\u002Freference\u002Ferror-types",{"title":626,"id":627,"canonicalKey":628,"locale":8,"draft":6,"navigation":629,"icon":630,"path":631},"Module configuration","content:docs:7.reference:5.module-configuration.md","7\u002F5",{"icon":630},"i-lucide-settings","\u002Fdocs\u002Freference\u002Fmodule-configuration",{"title":633,"id":634,"canonicalKey":635,"locale":8,"draft":6,"navigation":636,"icon":637,"path":638},"Package exports","content:docs:7.reference:6.package-exports.md","7\u002F6",{"icon":637},"i-lucide-package-open","\u002Fdocs\u002Freference\u002Fpackage-exports",{"title":640,"id":641,"canonicalKey":642,"locale":8,"draft":6,"navigation":643,"icon":644,"path":645},"API surface","content:docs:7.reference:7.api-surface.md","7\u002F7",{"icon":644},"i-lucide-list","\u002Fdocs\u002Freference\u002Fapi-surface",{"title":647,"id":648,"canonicalKey":649,"locale":8,"draft":6,"path":650},"Better Convex documentation","content:docs:index.md","\u002F","\u002Fdocs",{"title":279,"description":652,"navigation":653,"body":654,"type":3011,"id":280,"canonicalKey":281,"draft":6,"partial":6,"locale":8,"collection":3012,"navigationFile":6,"file":3013,"route":3019,"resolution":3021},"Let users sign in with GitHub or Google through the Nuxt auth proxy.",{"icon":283},{"type":655,"children":656,"toc":2999},"root",[657,672,685,692,704,803,828,834,846,1066,1071,1077,1082,1646,1678,1684,1696,2521,2563,2569,2578,2610,2621,2711,2722,2928,2940,2946,2964,2970],{"type":658,"tag":659,"props":660,"children":661},"element","p",{},[662,665,670],{"type":663,"value":664},"text","Add GitHub or Google sign-in to an application that already has working\nemail sign-in. Complete ",{"type":658,"tag":666,"props":667,"children":668},"a",{"href":81},[669],{"type":663,"value":76},{"type":663,"value":671},"\nfirst.",{"type":658,"tag":659,"props":673,"children":674},{},[675,677,683],{"type":663,"value":676},"Better Auth runs in Convex, but the browser only talks to your Nuxt origin.\nThe provider therefore sends the user back to\n",{"type":658,"tag":678,"props":679,"children":680},"code",{},[681],{"type":663,"value":682},"https:\u002F\u002Fapp.example.com\u002Fapi\u002Fauth\u002Fcallback\u002F\u003Cprovider>",{"type":663,"value":684},". The Nuxt auth proxy\nforwards that request to Convex.",{"type":658,"tag":686,"props":687,"children":689},"h2",{"id":688},"_1-create-the-provider-app",[690],{"type":663,"value":691},"1. Create the provider app",{"type":658,"tag":659,"props":693,"children":694},{},[695,697,702],{"type":663,"value":696},"Register an OAuth app with each provider. Use your exact ",{"type":658,"tag":678,"props":698,"children":699},{},[700],{"type":663,"value":701},"SITE_URL",{"type":663,"value":703}," in the\ncallback URL:",{"type":658,"tag":705,"props":706,"children":707},"table",{},[708,732],{"type":658,"tag":709,"props":710,"children":711},"thead",{},[712],{"type":658,"tag":713,"props":714,"children":715},"tr",{},[716,722,727],{"type":658,"tag":717,"props":718,"children":719},"th",{},[720],{"type":663,"value":721},"Provider",{"type":658,"tag":717,"props":723,"children":724},{},[725],{"type":663,"value":726},"Where to create it",{"type":658,"tag":717,"props":728,"children":729},{},[730],{"type":663,"value":731},"Callback URL",{"type":658,"tag":733,"props":734,"children":735},"tbody",{},[736,771],{"type":658,"tag":713,"props":737,"children":738},{},[739,745,763],{"type":658,"tag":740,"props":741,"children":742},"td",{},[743],{"type":663,"value":744},"GitHub",{"type":658,"tag":740,"props":746,"children":747},{},[748,750,756,758],{"type":663,"value":749},"GitHub settings, ",{"type":658,"tag":751,"props":752,"children":753},"strong",{},[754],{"type":663,"value":755},"Developer settings",{"type":663,"value":757},", ",{"type":658,"tag":751,"props":759,"children":760},{},[761],{"type":663,"value":762},"OAuth Apps",{"type":658,"tag":740,"props":764,"children":765},{},[766],{"type":658,"tag":678,"props":767,"children":768},{},[769],{"type":663,"value":770},"https:\u002F\u002Fapp.example.com\u002Fapi\u002Fauth\u002Fcallback\u002Fgithub",{"type":658,"tag":713,"props":772,"children":773},{},[774,779,795],{"type":658,"tag":740,"props":775,"children":776},{},[777],{"type":663,"value":778},"Google",{"type":658,"tag":740,"props":780,"children":781},{},[782,784,789,790],{"type":663,"value":783},"Google Cloud console, ",{"type":658,"tag":751,"props":785,"children":786},{},[787],{"type":663,"value":788},"APIs and services",{"type":663,"value":757},{"type":658,"tag":751,"props":791,"children":792},{},[793],{"type":663,"value":794},"Credentials",{"type":658,"tag":740,"props":796,"children":797},{},[798],{"type":658,"tag":678,"props":799,"children":800},{},[801],{"type":663,"value":802},"https:\u002F\u002Fapp.example.com\u002Fapi\u002Fauth\u002Fcallback\u002Fgoogle",{"type":658,"tag":659,"props":804,"children":805},{},[806,808,813,815,819,821,826],{"type":663,"value":807},"For local development, register a separate app with\n",{"type":658,"tag":678,"props":809,"children":810},{},[811],{"type":663,"value":812},"http:\u002F\u002Flocalhost:3000\u002Fapi\u002Fauth\u002Fcallback\u002Fgithub",{"type":663,"value":814},". Each environment needs its\nown callback URL, because ",{"type":658,"tag":678,"props":816,"children":817},{},[818],{"type":663,"value":701},{"type":663,"value":820}," differs. Do not point a provider at the\n",{"type":658,"tag":678,"props":822,"children":823},{},[824],{"type":663,"value":825},".convex.site",{"type":663,"value":827}," origin.",{"type":658,"tag":686,"props":829,"children":831},{"id":830},"_2-store-the-client-secrets-in-convex",[832],{"type":663,"value":833},"2. Store the client secrets in Convex",{"type":658,"tag":659,"props":835,"children":836},{},[837,839,844],{"type":663,"value":838},"The provider options run inside Convex, so the secrets belong in the Convex\nenvironment, not in Nuxt. Set them for the deployment that ",{"type":658,"tag":678,"props":840,"children":841},{},[842],{"type":663,"value":843},".env.local",{"type":663,"value":845},"\nselects:",{"type":658,"tag":847,"props":848,"children":851},"pre",{"language":849,"class":850},"bash","shiki shiki-themes light-plus dark-plus dark:dark-plus",[852],{"type":658,"tag":678,"props":853,"children":855},{"class":854},"language-bash",[856,904,906,970,971,1008,1009],{"type":658,"tag":857,"props":858,"children":861},"span",{"class":859,"style":860},"line","display: inline",[862,868,874,879,884,889,894,899],{"type":658,"tag":857,"props":863,"children":865},{"style":864},"color:#795E26;--shiki-dark:#DCDCAA",[866],{"type":663,"value":867},"pnpm",{"type":658,"tag":857,"props":869,"children":871},{"style":870},"color:#A31515;--shiki-dark:#CE9178",[872],{"type":663,"value":873}," exec",{"type":658,"tag":857,"props":875,"children":876},{"style":870},[877],{"type":663,"value":878}," better-convex",{"type":658,"tag":857,"props":880,"children":881},{"style":870},[882],{"type":663,"value":883}," convex",{"type":658,"tag":857,"props":885,"children":886},{"style":870},[887],{"type":663,"value":888}," env",{"type":658,"tag":857,"props":890,"children":891},{"style":870},[892],{"type":663,"value":893}," set",{"type":658,"tag":857,"props":895,"children":896},{"style":870},[897],{"type":663,"value":898}," GITHUB_CLIENT_ID",{"type":658,"tag":857,"props":900,"children":901},{"style":870},[902],{"type":663,"value":903}," your-github-client-id",{"type":663,"value":905},"\n",{"type":658,"tag":857,"props":907,"children":908},{"class":859,"style":860},[909,914,919,924,930,935,941,945,949,953,957,961,965],{"type":658,"tag":857,"props":910,"children":911},{"style":864},[912],{"type":663,"value":913},"printf",{"type":658,"tag":857,"props":915,"children":916},{"style":870},[917],{"type":663,"value":918}," '%s'",{"type":658,"tag":857,"props":920,"children":921},{"style":870},[922],{"type":663,"value":923}," \"",{"type":658,"tag":857,"props":925,"children":927},{"style":926},"color:#001080;--shiki-dark:#9CDCFE",[928],{"type":663,"value":929},"$GITHUB_CLIENT_SECRET",{"type":658,"tag":857,"props":931,"children":932},{"style":870},[933],{"type":663,"value":934},"\"",{"type":658,"tag":857,"props":936,"children":938},{"style":937},"color:#000000;--shiki-dark:#D4D4D4",[939],{"type":663,"value":940}," | ",{"type":658,"tag":857,"props":942,"children":943},{"style":864},[944],{"type":663,"value":867},{"type":658,"tag":857,"props":946,"children":947},{"style":870},[948],{"type":663,"value":873},{"type":658,"tag":857,"props":950,"children":951},{"style":870},[952],{"type":663,"value":878},{"type":658,"tag":857,"props":954,"children":955},{"style":870},[956],{"type":663,"value":883},{"type":658,"tag":857,"props":958,"children":959},{"style":870},[960],{"type":663,"value":888},{"type":658,"tag":857,"props":962,"children":963},{"style":870},[964],{"type":663,"value":893},{"type":658,"tag":857,"props":966,"children":967},{"style":870},[968],{"type":663,"value":969}," GITHUB_CLIENT_SECRET",{"type":663,"value":905},{"type":658,"tag":857,"props":972,"children":973},{"class":859,"style":860},[974,978,982,986,990,994,998,1003],{"type":658,"tag":857,"props":975,"children":976},{"style":864},[977],{"type":663,"value":867},{"type":658,"tag":857,"props":979,"children":980},{"style":870},[981],{"type":663,"value":873},{"type":658,"tag":857,"props":983,"children":984},{"style":870},[985],{"type":663,"value":878},{"type":658,"tag":857,"props":987,"children":988},{"style":870},[989],{"type":663,"value":883},{"type":658,"tag":857,"props":991,"children":992},{"style":870},[993],{"type":663,"value":888},{"type":658,"tag":857,"props":995,"children":996},{"style":870},[997],{"type":663,"value":893},{"type":658,"tag":857,"props":999,"children":1000},{"style":870},[1001],{"type":663,"value":1002}," GOOGLE_CLIENT_ID",{"type":658,"tag":857,"props":1004,"children":1005},{"style":870},[1006],{"type":663,"value":1007}," your-google-client-id",{"type":663,"value":905},{"type":658,"tag":857,"props":1010,"children":1011},{"class":859,"style":860},[1012,1016,1020,1024,1029,1033,1037,1041,1045,1049,1053,1057,1061],{"type":658,"tag":857,"props":1013,"children":1014},{"style":864},[1015],{"type":663,"value":913},{"type":658,"tag":857,"props":1017,"children":1018},{"style":870},[1019],{"type":663,"value":918},{"type":658,"tag":857,"props":1021,"children":1022},{"style":870},[1023],{"type":663,"value":923},{"type":658,"tag":857,"props":1025,"children":1026},{"style":926},[1027],{"type":663,"value":1028},"$GOOGLE_CLIENT_SECRET",{"type":658,"tag":857,"props":1030,"children":1031},{"style":870},[1032],{"type":663,"value":934},{"type":658,"tag":857,"props":1034,"children":1035},{"style":937},[1036],{"type":663,"value":940},{"type":658,"tag":857,"props":1038,"children":1039},{"style":864},[1040],{"type":663,"value":867},{"type":658,"tag":857,"props":1042,"children":1043},{"style":870},[1044],{"type":663,"value":873},{"type":658,"tag":857,"props":1046,"children":1047},{"style":870},[1048],{"type":663,"value":878},{"type":658,"tag":857,"props":1050,"children":1051},{"style":870},[1052],{"type":663,"value":883},{"type":658,"tag":857,"props":1054,"children":1055},{"style":870},[1056],{"type":663,"value":888},{"type":658,"tag":857,"props":1058,"children":1059},{"style":870},[1060],{"type":663,"value":893},{"type":658,"tag":857,"props":1062,"children":1063},{"style":870},[1064],{"type":663,"value":1065}," GOOGLE_CLIENT_SECRET",{"type":658,"tag":659,"props":1067,"children":1068},{},[1069],{"type":663,"value":1070},"Do not print or commit the secrets.",{"type":658,"tag":686,"props":1072,"children":1074},{"id":1073},"_3-add-the-providers-to-the-factory",[1075],{"type":663,"value":1076},"3. Add the providers to the factory",{"type":658,"tag":659,"props":1078,"children":1079},{},[1080],{"type":663,"value":1081},"Pass the providers as a function. The function runs for each auth request, so\na missing variable fails that request with a clear error instead of failing\nthe deployment:",{"type":658,"tag":847,"props":1083,"children":1086},{"language":1084,"filename":1085,"class":850},"ts","convex\u002Fauth.ts",[1087],{"type":658,"tag":678,"props":1088,"children":1090},{"class":1089},"language-ts",[1091,1125,1126,1129,1130,1159,1160,1194,1195,1198,1199,1248,1249,1297,1298,1369,1370,1382,1383,1390,1391,1394,1395,1453,1454,1482,1483,1495,1496,1522,1523,1548,1549,1557,1558,1570,1571,1595,1596,1620,1621,1628,1629,1637,1638],{"type":658,"tag":857,"props":1092,"children":1093},{"class":859,"style":860},[1094,1100,1105,1110,1115,1120],{"type":658,"tag":857,"props":1095,"children":1097},{"style":1096},"color:#AF00DB;--shiki-dark:#C586C0",[1098],{"type":663,"value":1099},"import",{"type":658,"tag":857,"props":1101,"children":1102},{"style":937},[1103],{"type":663,"value":1104}," { ",{"type":658,"tag":857,"props":1106,"children":1107},{"style":926},[1108],{"type":663,"value":1109},"createBetterConvexAuth",{"type":658,"tag":857,"props":1111,"children":1112},{"style":937},[1113],{"type":663,"value":1114}," } ",{"type":658,"tag":857,"props":1116,"children":1117},{"style":1096},[1118],{"type":663,"value":1119},"from",{"type":658,"tag":857,"props":1121,"children":1122},{"style":870},[1123],{"type":663,"value":1124}," '@lupinum\u002Fbetter-convex-nuxt\u002Fbetter-auth\u002Fserver'",{"type":663,"value":905},{"type":658,"tag":857,"props":1127,"children":1128},{"class":859,"style":860},[],{"type":663,"value":905},{"type":658,"tag":857,"props":1131,"children":1132},{"class":859,"style":860},[1133,1137,1141,1146,1150,1154],{"type":658,"tag":857,"props":1134,"children":1135},{"style":1096},[1136],{"type":663,"value":1099},{"type":658,"tag":857,"props":1138,"children":1139},{"style":937},[1140],{"type":663,"value":1104},{"type":658,"tag":857,"props":1142,"children":1143},{"style":926},[1144],{"type":663,"value":1145},"components",{"type":658,"tag":857,"props":1147,"children":1148},{"style":937},[1149],{"type":663,"value":1114},{"type":658,"tag":857,"props":1151,"children":1152},{"style":1096},[1153],{"type":663,"value":1119},{"type":658,"tag":857,"props":1155,"children":1156},{"style":870},[1157],{"type":663,"value":1158}," '.\u002F_generated\u002Fapi'",{"type":663,"value":905},{"type":658,"tag":857,"props":1161,"children":1162},{"class":859,"style":860},[1163,1167,1172,1176,1181,1185,1189],{"type":658,"tag":857,"props":1164,"children":1165},{"style":1096},[1166],{"type":663,"value":1099},{"type":658,"tag":857,"props":1168,"children":1169},{"style":1096},[1170],{"type":663,"value":1171}," type",{"type":658,"tag":857,"props":1173,"children":1174},{"style":937},[1175],{"type":663,"value":1104},{"type":658,"tag":857,"props":1177,"children":1178},{"style":926},[1179],{"type":663,"value":1180},"DataModel",{"type":658,"tag":857,"props":1182,"children":1183},{"style":937},[1184],{"type":663,"value":1114},{"type":658,"tag":857,"props":1186,"children":1187},{"style":1096},[1188],{"type":663,"value":1119},{"type":658,"tag":857,"props":1190,"children":1191},{"style":870},[1192],{"type":663,"value":1193}," '.\u002F_generated\u002FdataModel'",{"type":663,"value":905},{"type":658,"tag":857,"props":1196,"children":1197},{"class":859,"style":860},[],{"type":663,"value":905},{"type":658,"tag":857,"props":1200,"children":1201},{"class":859,"style":860},[1202,1208,1213,1218,1223,1228,1234,1239,1243],{"type":658,"tag":857,"props":1203,"children":1205},{"style":1204},"color:#0000FF;--shiki-dark:#569CD6",[1206],{"type":663,"value":1207},"function",{"type":658,"tag":857,"props":1209,"children":1210},{"style":864},[1211],{"type":663,"value":1212}," requireEnv",{"type":658,"tag":857,"props":1214,"children":1215},{"style":937},[1216],{"type":663,"value":1217},"(",{"type":658,"tag":857,"props":1219,"children":1220},{"style":926},[1221],{"type":663,"value":1222},"name",{"type":658,"tag":857,"props":1224,"children":1225},{"style":937},[1226],{"type":663,"value":1227},": ",{"type":658,"tag":857,"props":1229,"children":1231},{"style":1230},"color:#267F99;--shiki-dark:#4EC9B0",[1232],{"type":663,"value":1233},"string",{"type":658,"tag":857,"props":1235,"children":1236},{"style":937},[1237],{"type":663,"value":1238},"): ",{"type":658,"tag":857,"props":1240,"children":1241},{"style":1230},[1242],{"type":663,"value":1233},{"type":658,"tag":857,"props":1244,"children":1245},{"style":937},[1246],{"type":663,"value":1247}," {",{"type":663,"value":905},{"type":658,"tag":857,"props":1250,"children":1251},{"class":859,"style":860},[1252,1257,1263,1268,1273,1278,1283,1288,1292],{"type":658,"tag":857,"props":1253,"children":1254},{"style":1204},[1255],{"type":663,"value":1256},"  const",{"type":658,"tag":857,"props":1258,"children":1260},{"style":1259},"color:#0070C1;--shiki-dark:#4FC1FF",[1261],{"type":663,"value":1262}," value",{"type":658,"tag":857,"props":1264,"children":1265},{"style":937},[1266],{"type":663,"value":1267}," = ",{"type":658,"tag":857,"props":1269,"children":1270},{"style":926},[1271],{"type":663,"value":1272},"process",{"type":658,"tag":857,"props":1274,"children":1275},{"style":937},[1276],{"type":663,"value":1277},".",{"type":658,"tag":857,"props":1279,"children":1280},{"style":926},[1281],{"type":663,"value":1282},"env",{"type":658,"tag":857,"props":1284,"children":1285},{"style":937},[1286],{"type":663,"value":1287},"[",{"type":658,"tag":857,"props":1289,"children":1290},{"style":926},[1291],{"type":663,"value":1222},{"type":658,"tag":857,"props":1293,"children":1294},{"style":937},[1295],{"type":663,"value":1296},"]",{"type":663,"value":905},{"type":658,"tag":857,"props":1299,"children":1300},{"class":859,"style":860},[1301,1306,1311,1316,1321,1326,1331,1336,1340,1345,1350,1354,1359,1364],{"type":658,"tag":857,"props":1302,"children":1303},{"style":1096},[1304],{"type":663,"value":1305},"  if",{"type":658,"tag":857,"props":1307,"children":1308},{"style":937},[1309],{"type":663,"value":1310}," (!",{"type":658,"tag":857,"props":1312,"children":1313},{"style":926},[1314],{"type":663,"value":1315},"value",{"type":658,"tag":857,"props":1317,"children":1318},{"style":937},[1319],{"type":663,"value":1320},") ",{"type":658,"tag":857,"props":1322,"children":1323},{"style":1096},[1324],{"type":663,"value":1325},"throw",{"type":658,"tag":857,"props":1327,"children":1328},{"style":1204},[1329],{"type":663,"value":1330}," new",{"type":658,"tag":857,"props":1332,"children":1333},{"style":864},[1334],{"type":663,"value":1335}," Error",{"type":658,"tag":857,"props":1337,"children":1338},{"style":937},[1339],{"type":663,"value":1217},{"type":658,"tag":857,"props":1341,"children":1342},{"style":870},[1343],{"type":663,"value":1344},"`",{"type":658,"tag":857,"props":1346,"children":1347},{"style":1204},[1348],{"type":663,"value":1349},"${",{"type":658,"tag":857,"props":1351,"children":1352},{"style":926},[1353],{"type":663,"value":1222},{"type":658,"tag":857,"props":1355,"children":1356},{"style":1204},[1357],{"type":663,"value":1358},"}",{"type":658,"tag":857,"props":1360,"children":1361},{"style":870},[1362],{"type":663,"value":1363}," is required`",{"type":658,"tag":857,"props":1365,"children":1366},{"style":937},[1367],{"type":663,"value":1368},")",{"type":663,"value":905},{"type":658,"tag":857,"props":1371,"children":1372},{"class":859,"style":860},[1373,1378],{"type":658,"tag":857,"props":1374,"children":1375},{"style":1096},[1376],{"type":663,"value":1377},"  return",{"type":658,"tag":857,"props":1379,"children":1380},{"style":926},[1381],{"type":663,"value":1262},{"type":663,"value":905},{"type":658,"tag":857,"props":1384,"children":1385},{"class":859,"style":860},[1386],{"type":658,"tag":857,"props":1387,"children":1388},{"style":937},[1389],{"type":663,"value":1358},{"type":663,"value":905},{"type":658,"tag":857,"props":1392,"children":1393},{"class":859,"style":860},[],{"type":663,"value":905},{"type":658,"tag":857,"props":1396,"children":1397},{"class":859,"style":860},[1398,1403,1408,1413,1417,1421,1426,1430,1435,1439,1443,1448],{"type":658,"tag":857,"props":1399,"children":1400},{"style":1096},[1401],{"type":663,"value":1402},"export",{"type":658,"tag":857,"props":1404,"children":1405},{"style":1204},[1406],{"type":663,"value":1407}," const",{"type":658,"tag":857,"props":1409,"children":1410},{"style":1259},[1411],{"type":663,"value":1412}," auth",{"type":658,"tag":857,"props":1414,"children":1415},{"style":937},[1416],{"type":663,"value":1267},{"type":658,"tag":857,"props":1418,"children":1419},{"style":864},[1420],{"type":663,"value":1109},{"type":658,"tag":857,"props":1422,"children":1423},{"style":937},[1424],{"type":663,"value":1425},"\u003C",{"type":658,"tag":857,"props":1427,"children":1428},{"style":1230},[1429],{"type":663,"value":1180},{"type":658,"tag":857,"props":1431,"children":1432},{"style":937},[1433],{"type":663,"value":1434},">(",{"type":658,"tag":857,"props":1436,"children":1437},{"style":926},[1438],{"type":663,"value":1145},{"type":658,"tag":857,"props":1440,"children":1441},{"style":937},[1442],{"type":663,"value":1277},{"type":658,"tag":857,"props":1444,"children":1445},{"style":926},[1446],{"type":663,"value":1447},"betterAuth",{"type":658,"tag":857,"props":1449,"children":1450},{"style":937},[1451],{"type":663,"value":1452},", {",{"type":663,"value":905},{"type":658,"tag":857,"props":1455,"children":1456},{"class":859,"style":860},[1457,1462,1467,1472,1477],{"type":658,"tag":857,"props":1458,"children":1459},{"style":864},[1460],{"type":663,"value":1461},"  socialProviders",{"type":658,"tag":857,"props":1463,"children":1464},{"style":926},[1465],{"type":663,"value":1466},":",{"type":658,"tag":857,"props":1468,"children":1469},{"style":937},[1470],{"type":663,"value":1471}," () ",{"type":658,"tag":857,"props":1473,"children":1474},{"style":1204},[1475],{"type":663,"value":1476},"=>",{"type":658,"tag":857,"props":1478,"children":1479},{"style":937},[1480],{"type":663,"value":1481}," ({",{"type":663,"value":905},{"type":658,"tag":857,"props":1484,"children":1485},{"class":859,"style":860},[1486,1491],{"type":658,"tag":857,"props":1487,"children":1488},{"style":926},[1489],{"type":663,"value":1490},"    github:",{"type":658,"tag":857,"props":1492,"children":1493},{"style":937},[1494],{"type":663,"value":1247},{"type":663,"value":905},{"type":658,"tag":857,"props":1497,"children":1498},{"class":859,"style":860},[1499,1504,1508,1512,1517],{"type":658,"tag":857,"props":1500,"children":1501},{"style":926},[1502],{"type":663,"value":1503},"      clientId:",{"type":658,"tag":857,"props":1505,"children":1506},{"style":864},[1507],{"type":663,"value":1212},{"type":658,"tag":857,"props":1509,"children":1510},{"style":937},[1511],{"type":663,"value":1217},{"type":658,"tag":857,"props":1513,"children":1514},{"style":870},[1515],{"type":663,"value":1516},"'GITHUB_CLIENT_ID'",{"type":658,"tag":857,"props":1518,"children":1519},{"style":937},[1520],{"type":663,"value":1521},"),",{"type":663,"value":905},{"type":658,"tag":857,"props":1524,"children":1525},{"class":859,"style":860},[1526,1531,1535,1539,1544],{"type":658,"tag":857,"props":1527,"children":1528},{"style":926},[1529],{"type":663,"value":1530},"      clientSecret:",{"type":658,"tag":857,"props":1532,"children":1533},{"style":864},[1534],{"type":663,"value":1212},{"type":658,"tag":857,"props":1536,"children":1537},{"style":937},[1538],{"type":663,"value":1217},{"type":658,"tag":857,"props":1540,"children":1541},{"style":870},[1542],{"type":663,"value":1543},"'GITHUB_CLIENT_SECRET'",{"type":658,"tag":857,"props":1545,"children":1546},{"style":937},[1547],{"type":663,"value":1521},{"type":663,"value":905},{"type":658,"tag":857,"props":1550,"children":1551},{"class":859,"style":860},[1552],{"type":658,"tag":857,"props":1553,"children":1554},{"style":937},[1555],{"type":663,"value":1556},"    },",{"type":663,"value":905},{"type":658,"tag":857,"props":1559,"children":1560},{"class":859,"style":860},[1561,1566],{"type":658,"tag":857,"props":1562,"children":1563},{"style":926},[1564],{"type":663,"value":1565},"    google:",{"type":658,"tag":857,"props":1567,"children":1568},{"style":937},[1569],{"type":663,"value":1247},{"type":663,"value":905},{"type":658,"tag":857,"props":1572,"children":1573},{"class":859,"style":860},[1574,1578,1582,1586,1591],{"type":658,"tag":857,"props":1575,"children":1576},{"style":926},[1577],{"type":663,"value":1503},{"type":658,"tag":857,"props":1579,"children":1580},{"style":864},[1581],{"type":663,"value":1212},{"type":658,"tag":857,"props":1583,"children":1584},{"style":937},[1585],{"type":663,"value":1217},{"type":658,"tag":857,"props":1587,"children":1588},{"style":870},[1589],{"type":663,"value":1590},"'GOOGLE_CLIENT_ID'",{"type":658,"tag":857,"props":1592,"children":1593},{"style":937},[1594],{"type":663,"value":1521},{"type":663,"value":905},{"type":658,"tag":857,"props":1597,"children":1598},{"class":859,"style":860},[1599,1603,1607,1611,1616],{"type":658,"tag":857,"props":1600,"children":1601},{"style":926},[1602],{"type":663,"value":1530},{"type":658,"tag":857,"props":1604,"children":1605},{"style":864},[1606],{"type":663,"value":1212},{"type":658,"tag":857,"props":1608,"children":1609},{"style":937},[1610],{"type":663,"value":1217},{"type":658,"tag":857,"props":1612,"children":1613},{"style":870},[1614],{"type":663,"value":1615},"'GOOGLE_CLIENT_SECRET'",{"type":658,"tag":857,"props":1617,"children":1618},{"style":937},[1619],{"type":663,"value":1521},{"type":663,"value":905},{"type":658,"tag":857,"props":1622,"children":1623},{"class":859,"style":860},[1624],{"type":658,"tag":857,"props":1625,"children":1626},{"style":937},[1627],{"type":663,"value":1556},{"type":663,"value":905},{"type":658,"tag":857,"props":1630,"children":1631},{"class":859,"style":860},[1632],{"type":658,"tag":857,"props":1633,"children":1634},{"style":937},[1635],{"type":663,"value":1636},"  }),",{"type":663,"value":905},{"type":658,"tag":857,"props":1639,"children":1640},{"class":859,"style":860},[1641],{"type":658,"tag":857,"props":1642,"children":1643},{"style":937},[1644],{"type":663,"value":1645},"})",{"type":658,"tag":659,"props":1647,"children":1648},{},[1649,1651,1656,1658,1663,1665,1670,1672,1677],{"type":663,"value":1650},"Keep your other options, such as ",{"type":658,"tag":678,"props":1652,"children":1653},{},[1654],{"type":663,"value":1655},"emailAndPassword",{"type":663,"value":1657}," or ",{"type":658,"tag":678,"props":1659,"children":1660},{},[1661],{"type":663,"value":1662},"email",{"type":663,"value":1664},", in the same\ncall. Nothing changes in ",{"type":658,"tag":678,"props":1666,"children":1667},{},[1668],{"type":663,"value":1669},"nuxt.config.ts",{"type":663,"value":1671},": the auth proxy already forwards\n",{"type":658,"tag":678,"props":1673,"children":1674},{},[1675],{"type":663,"value":1676},"\u002Fapi\u002Fauth\u002Fcallback\u002F*",{"type":663,"value":1277},{"type":658,"tag":686,"props":1679,"children":1681},{"id":1680},"_4-add-the-sign-in-buttons",[1682],{"type":663,"value":1683},"4. Add the sign-in buttons",{"type":658,"tag":659,"props":1685,"children":1686},{},[1687,1689,1694],{"type":663,"value":1688},"Call ",{"type":658,"tag":678,"props":1690,"children":1691},{},[1692],{"type":663,"value":1693},"client.signIn.social()",{"type":663,"value":1695}," from a click handler. Better Auth redirects the\nbrowser to the provider:",{"type":658,"tag":847,"props":1697,"children":1700},{"language":1698,"filename":1699,"class":850},"vue","app\u002Fpages\u002Fauth\u002Fsignin.vue",[1701],{"type":658,"tag":678,"props":1702,"children":1704},{"class":1703},"language-vue",[1705,1746,1747,1775,1776,1779,1780,1807,1808,1847,1848,1873,1874,1899,1900,1936,1937,1950,1951,1980,1981,1994,1995,2013,2014,2021,2022,2025,2026,2076,2077,2101,2102,2151,2152,2164,2165,2199,2200,2217,2218,2226,2227,2277,2278,2285,2286,2302,2303,2306,2307,2323,2324,2386,2387,2444,2445,2505,2506],{"type":658,"tag":857,"props":1706,"children":1707},{"class":859,"style":860},[1708,1713,1719,1725,1730,1735,1741],{"type":658,"tag":857,"props":1709,"children":1711},{"style":1710},"color:#800000;--shiki-dark:#808080",[1712],{"type":663,"value":1425},{"type":658,"tag":857,"props":1714,"children":1716},{"style":1715},"color:#800000;--shiki-dark:#569CD6",[1717],{"type":663,"value":1718},"script",{"type":658,"tag":857,"props":1720,"children":1722},{"style":1721},"color:#E50000;--shiki-dark:#9CDCFE",[1723],{"type":663,"value":1724}," setup",{"type":658,"tag":857,"props":1726,"children":1727},{"style":1721},[1728],{"type":663,"value":1729}," lang",{"type":658,"tag":857,"props":1731,"children":1732},{"style":937},[1733],{"type":663,"value":1734},"=",{"type":658,"tag":857,"props":1736,"children":1738},{"style":1737},"color:#0000FF;--shiki-dark:#CE9178",[1739],{"type":663,"value":1740},"\"ts\"",{"type":658,"tag":857,"props":1742,"children":1743},{"style":1710},[1744],{"type":663,"value":1745},">",{"type":663,"value":905},{"type":658,"tag":857,"props":1748,"children":1749},{"class":859,"style":860},[1750,1755,1760,1765,1770],{"type":658,"tag":857,"props":1751,"children":1752},{"style":864},[1753],{"type":663,"value":1754},"definePageMeta",{"type":658,"tag":857,"props":1756,"children":1757},{"style":937},[1758],{"type":663,"value":1759},"({ ",{"type":658,"tag":857,"props":1761,"children":1762},{"style":926},[1763],{"type":663,"value":1764},"convexAuth:",{"type":658,"tag":857,"props":1766,"children":1767},{"style":870},[1768],{"type":663,"value":1769}," 'guest'",{"type":658,"tag":857,"props":1771,"children":1772},{"style":937},[1773],{"type":663,"value":1774}," })",{"type":663,"value":905},{"type":658,"tag":857,"props":1777,"children":1778},{"class":859,"style":860},[],{"type":663,"value":905},{"type":658,"tag":857,"props":1781,"children":1782},{"class":859,"style":860},[1783,1788,1793,1797,1802],{"type":658,"tag":857,"props":1784,"children":1785},{"style":1204},[1786],{"type":663,"value":1787},"const",{"type":658,"tag":857,"props":1789,"children":1790},{"style":1259},[1791],{"type":663,"value":1792}," route",{"type":658,"tag":857,"props":1794,"children":1795},{"style":937},[1796],{"type":663,"value":1267},{"type":658,"tag":857,"props":1798,"children":1799},{"style":864},[1800],{"type":663,"value":1801},"useRoute",{"type":658,"tag":857,"props":1803,"children":1804},{"style":937},[1805],{"type":663,"value":1806},"()",{"type":663,"value":905},{"type":658,"tag":857,"props":1809,"children":1810},{"class":859,"style":860},[1811,1815,1819,1824,1828,1833,1838,1843],{"type":658,"tag":857,"props":1812,"children":1813},{"style":1204},[1814],{"type":663,"value":1787},{"type":658,"tag":857,"props":1816,"children":1817},{"style":937},[1818],{"type":663,"value":1104},{"type":658,"tag":857,"props":1820,"children":1821},{"style":1259},[1822],{"type":663,"value":1823},"client",{"type":658,"tag":857,"props":1825,"children":1826},{"style":937},[1827],{"type":663,"value":757},{"type":658,"tag":857,"props":1829,"children":1830},{"style":1259},[1831],{"type":663,"value":1832},"pending",{"type":658,"tag":857,"props":1834,"children":1835},{"style":937},[1836],{"type":663,"value":1837}," } = ",{"type":658,"tag":857,"props":1839,"children":1840},{"style":864},[1841],{"type":663,"value":1842},"useConvexAuth",{"type":658,"tag":857,"props":1844,"children":1845},{"style":937},[1846],{"type":663,"value":1806},{"type":663,"value":905},{"type":658,"tag":857,"props":1849,"children":1850},{"class":859,"style":860},[1851,1855,1860,1864,1869],{"type":658,"tag":857,"props":1852,"children":1853},{"style":1204},[1854],{"type":663,"value":1787},{"type":658,"tag":857,"props":1856,"children":1857},{"style":1259},[1858],{"type":663,"value":1859}," returnTo",{"type":658,"tag":857,"props":1861,"children":1862},{"style":937},[1863],{"type":663,"value":1267},{"type":658,"tag":857,"props":1865,"children":1866},{"style":864},[1867],{"type":663,"value":1868},"useConvexAuthReturnTo",{"type":658,"tag":857,"props":1870,"children":1871},{"style":937},[1872],{"type":663,"value":1806},{"type":663,"value":905},{"type":658,"tag":857,"props":1875,"children":1876},{"class":859,"style":860},[1877,1881,1886,1890,1895],{"type":658,"tag":857,"props":1878,"children":1879},{"style":1204},[1880],{"type":663,"value":1787},{"type":658,"tag":857,"props":1882,"children":1883},{"style":1259},[1884],{"type":663,"value":1885}," signInError",{"type":658,"tag":857,"props":1887,"children":1888},{"style":937},[1889],{"type":663,"value":1267},{"type":658,"tag":857,"props":1891,"children":1892},{"style":864},[1893],{"type":663,"value":1894},"ref",{"type":658,"tag":857,"props":1896,"children":1897},{"style":937},[1898],{"type":663,"value":1217},{"type":663,"value":905},{"type":658,"tag":857,"props":1901,"children":1902},{"class":859,"style":860},[1903,1908,1912,1917,1921,1926,1931],{"type":658,"tag":857,"props":1904,"children":1905},{"style":926},[1906],{"type":663,"value":1907},"  route",{"type":658,"tag":857,"props":1909,"children":1910},{"style":937},[1911],{"type":663,"value":1277},{"type":658,"tag":857,"props":1913,"children":1914},{"style":926},[1915],{"type":663,"value":1916},"query",{"type":658,"tag":857,"props":1918,"children":1919},{"style":937},[1920],{"type":663,"value":1277},{"type":658,"tag":857,"props":1922,"children":1923},{"style":926},[1924],{"type":663,"value":1925},"error",{"type":658,"tag":857,"props":1927,"children":1928},{"style":937},[1929],{"type":663,"value":1930}," === ",{"type":658,"tag":857,"props":1932,"children":1933},{"style":870},[1934],{"type":663,"value":1935},"'account_not_linked'",{"type":663,"value":905},{"type":658,"tag":857,"props":1938,"children":1939},{"class":859,"style":860},[1940,1945],{"type":658,"tag":857,"props":1941,"children":1942},{"style":937},[1943],{"type":663,"value":1944},"    ? ",{"type":658,"tag":857,"props":1946,"children":1947},{"style":870},[1948],{"type":663,"value":1949},"'This email already has an account. Sign in with your password, then link the provider in your settings.'",{"type":663,"value":905},{"type":658,"tag":857,"props":1952,"children":1953},{"class":859,"style":860},[1954,1959,1964,1968,1972,1976],{"type":658,"tag":857,"props":1955,"children":1956},{"style":937},[1957],{"type":663,"value":1958},"    : ",{"type":658,"tag":857,"props":1960,"children":1961},{"style":926},[1962],{"type":663,"value":1963},"route",{"type":658,"tag":857,"props":1965,"children":1966},{"style":937},[1967],{"type":663,"value":1277},{"type":658,"tag":857,"props":1969,"children":1970},{"style":926},[1971],{"type":663,"value":1916},{"type":658,"tag":857,"props":1973,"children":1974},{"style":937},[1975],{"type":663,"value":1277},{"type":658,"tag":857,"props":1977,"children":1978},{"style":926},[1979],{"type":663,"value":1925},{"type":663,"value":905},{"type":658,"tag":857,"props":1982,"children":1983},{"class":859,"style":860},[1984,1989],{"type":658,"tag":857,"props":1985,"children":1986},{"style":937},[1987],{"type":663,"value":1988},"      ? ",{"type":658,"tag":857,"props":1990,"children":1991},{"style":870},[1992],{"type":663,"value":1993},"'Sign in could not be completed.'",{"type":663,"value":905},{"type":658,"tag":857,"props":1996,"children":1997},{"class":859,"style":860},[1998,2003,2008],{"type":658,"tag":857,"props":1999,"children":2000},{"style":937},[2001],{"type":663,"value":2002},"      : ",{"type":658,"tag":857,"props":2004,"children":2005},{"style":870},[2006],{"type":663,"value":2007},"''",{"type":658,"tag":857,"props":2009,"children":2010},{"style":937},[2011],{"type":663,"value":2012},",",{"type":663,"value":905},{"type":658,"tag":857,"props":2015,"children":2016},{"class":859,"style":860},[2017],{"type":658,"tag":857,"props":2018,"children":2019},{"style":937},[2020],{"type":663,"value":1368},{"type":663,"value":905},{"type":658,"tag":857,"props":2023,"children":2024},{"class":859,"style":860},[],{"type":663,"value":905},{"type":658,"tag":857,"props":2027,"children":2028},{"class":859,"style":860},[2029,2034,2039,2044,2048,2053,2057,2062,2066,2071],{"type":658,"tag":857,"props":2030,"children":2031},{"style":1204},[2032],{"type":663,"value":2033},"async",{"type":658,"tag":857,"props":2035,"children":2036},{"style":1204},[2037],{"type":663,"value":2038}," function",{"type":658,"tag":857,"props":2040,"children":2041},{"style":864},[2042],{"type":663,"value":2043}," signInWith",{"type":658,"tag":857,"props":2045,"children":2046},{"style":937},[2047],{"type":663,"value":1217},{"type":658,"tag":857,"props":2049,"children":2050},{"style":926},[2051],{"type":663,"value":2052},"provider",{"type":658,"tag":857,"props":2054,"children":2055},{"style":937},[2056],{"type":663,"value":1227},{"type":658,"tag":857,"props":2058,"children":2059},{"style":870},[2060],{"type":663,"value":2061},"'github'",{"type":658,"tag":857,"props":2063,"children":2064},{"style":937},[2065],{"type":663,"value":940},{"type":658,"tag":857,"props":2067,"children":2068},{"style":870},[2069],{"type":663,"value":2070},"'google'",{"type":658,"tag":857,"props":2072,"children":2073},{"style":937},[2074],{"type":663,"value":2075},") {",{"type":663,"value":905},{"type":658,"tag":857,"props":2078,"children":2079},{"class":859,"style":860},[2080,2085,2089,2093,2097],{"type":658,"tag":857,"props":2081,"children":2082},{"style":926},[2083],{"type":663,"value":2084},"  signInError",{"type":658,"tag":857,"props":2086,"children":2087},{"style":937},[2088],{"type":663,"value":1277},{"type":658,"tag":857,"props":2090,"children":2091},{"style":926},[2092],{"type":663,"value":1315},{"type":658,"tag":857,"props":2094,"children":2095},{"style":937},[2096],{"type":663,"value":1267},{"type":658,"tag":857,"props":2098,"children":2099},{"style":870},[2100],{"type":663,"value":2007},{"type":663,"value":905},{"type":658,"tag":857,"props":2103,"children":2104},{"class":859,"style":860},[2105,2109,2114,2118,2123,2128,2132,2137,2141,2146],{"type":658,"tag":857,"props":2106,"children":2107},{"style":1204},[2108],{"type":663,"value":1256},{"type":658,"tag":857,"props":2110,"children":2111},{"style":1259},[2112],{"type":663,"value":2113}," result",{"type":658,"tag":857,"props":2115,"children":2116},{"style":937},[2117],{"type":663,"value":1267},{"type":658,"tag":857,"props":2119,"children":2120},{"style":1096},[2121],{"type":663,"value":2122},"await",{"type":658,"tag":857,"props":2124,"children":2125},{"style":926},[2126],{"type":663,"value":2127}," client",{"type":658,"tag":857,"props":2129,"children":2130},{"style":937},[2131],{"type":663,"value":1277},{"type":658,"tag":857,"props":2133,"children":2134},{"style":926},[2135],{"type":663,"value":2136},"signIn",{"type":658,"tag":857,"props":2138,"children":2139},{"style":937},[2140],{"type":663,"value":1277},{"type":658,"tag":857,"props":2142,"children":2143},{"style":864},[2144],{"type":663,"value":2145},"social",{"type":658,"tag":857,"props":2147,"children":2148},{"style":937},[2149],{"type":663,"value":2150},"({",{"type":663,"value":905},{"type":658,"tag":857,"props":2153,"children":2154},{"class":859,"style":860},[2155,2160],{"type":658,"tag":857,"props":2156,"children":2157},{"style":926},[2158],{"type":663,"value":2159},"    provider",{"type":658,"tag":857,"props":2161,"children":2162},{"style":937},[2163],{"type":663,"value":2012},{"type":663,"value":905},{"type":658,"tag":857,"props":2166,"children":2167},{"class":859,"style":860},[2168,2173,2177,2181,2185,2190,2195],{"type":658,"tag":857,"props":2169,"children":2170},{"style":926},[2171],{"type":663,"value":2172},"    callbackURL:",{"type":658,"tag":857,"props":2174,"children":2175},{"style":926},[2176],{"type":663,"value":1859},{"type":658,"tag":857,"props":2178,"children":2179},{"style":937},[2180],{"type":663,"value":1277},{"type":658,"tag":857,"props":2182,"children":2183},{"style":926},[2184],{"type":663,"value":1315},{"type":658,"tag":857,"props":2186,"children":2187},{"style":937},[2188],{"type":663,"value":2189}," ?? ",{"type":658,"tag":857,"props":2191,"children":2192},{"style":870},[2193],{"type":663,"value":2194},"'\u002Fdashboard'",{"type":658,"tag":857,"props":2196,"children":2197},{"style":937},[2198],{"type":663,"value":2012},{"type":663,"value":905},{"type":658,"tag":857,"props":2201,"children":2202},{"class":859,"style":860},[2203,2208,2213],{"type":658,"tag":857,"props":2204,"children":2205},{"style":926},[2206],{"type":663,"value":2207},"    errorCallbackURL:",{"type":658,"tag":857,"props":2209,"children":2210},{"style":870},[2211],{"type":663,"value":2212}," '\u002Fauth\u002Fsignin'",{"type":658,"tag":857,"props":2214,"children":2215},{"style":937},[2216],{"type":663,"value":2012},{"type":663,"value":905},{"type":658,"tag":857,"props":2219,"children":2220},{"class":859,"style":860},[2221],{"type":658,"tag":857,"props":2222,"children":2223},{"style":937},[2224],{"type":663,"value":2225},"  })",{"type":663,"value":905},{"type":658,"tag":857,"props":2228,"children":2229},{"class":859,"style":860},[2230,2234,2239,2244,2248,2252,2256,2261,2265,2269,2273],{"type":658,"tag":857,"props":2231,"children":2232},{"style":1096},[2233],{"type":663,"value":1305},{"type":658,"tag":857,"props":2235,"children":2236},{"style":937},[2237],{"type":663,"value":2238}," (",{"type":658,"tag":857,"props":2240,"children":2241},{"style":926},[2242],{"type":663,"value":2243},"result",{"type":658,"tag":857,"props":2245,"children":2246},{"style":937},[2247],{"type":663,"value":1277},{"type":658,"tag":857,"props":2249,"children":2250},{"style":926},[2251],{"type":663,"value":1925},{"type":658,"tag":857,"props":2253,"children":2254},{"style":937},[2255],{"type":663,"value":1320},{"type":658,"tag":857,"props":2257,"children":2258},{"style":926},[2259],{"type":663,"value":2260},"signInError",{"type":658,"tag":857,"props":2262,"children":2263},{"style":937},[2264],{"type":663,"value":1277},{"type":658,"tag":857,"props":2266,"children":2267},{"style":926},[2268],{"type":663,"value":1315},{"type":658,"tag":857,"props":2270,"children":2271},{"style":937},[2272],{"type":663,"value":1267},{"type":658,"tag":857,"props":2274,"children":2275},{"style":870},[2276],{"type":663,"value":1993},{"type":663,"value":905},{"type":658,"tag":857,"props":2279,"children":2280},{"class":859,"style":860},[2281],{"type":658,"tag":857,"props":2282,"children":2283},{"style":937},[2284],{"type":663,"value":1358},{"type":663,"value":905},{"type":658,"tag":857,"props":2287,"children":2288},{"class":859,"style":860},[2289,2294,2298],{"type":658,"tag":857,"props":2290,"children":2291},{"style":1710},[2292],{"type":663,"value":2293},"\u003C\u002F",{"type":658,"tag":857,"props":2295,"children":2296},{"style":1715},[2297],{"type":663,"value":1718},{"type":658,"tag":857,"props":2299,"children":2300},{"style":1710},[2301],{"type":663,"value":1745},{"type":663,"value":905},{"type":658,"tag":857,"props":2304,"children":2305},{"class":859,"style":860},[],{"type":663,"value":905},{"type":658,"tag":857,"props":2308,"children":2309},{"class":859,"style":860},[2310,2314,2319],{"type":658,"tag":857,"props":2311,"children":2312},{"style":1710},[2313],{"type":663,"value":1425},{"type":658,"tag":857,"props":2315,"children":2316},{"style":1715},[2317],{"type":663,"value":2318},"template",{"type":658,"tag":857,"props":2320,"children":2321},{"style":1710},[2322],{"type":663,"value":1745},{"type":663,"value":905},{"type":658,"tag":857,"props":2325,"children":2326},{"class":859,"style":860},[2327,2332,2337,2342,2346,2351,2356,2360,2365,2369,2374,2378,2382],{"type":658,"tag":857,"props":2328,"children":2329},{"style":1710},[2330],{"type":663,"value":2331},"  \u003C",{"type":658,"tag":857,"props":2333,"children":2334},{"style":1715},[2335],{"type":663,"value":2336},"button",{"type":658,"tag":857,"props":2338,"children":2339},{"style":1721},[2340],{"type":663,"value":2341}," :disabled",{"type":658,"tag":857,"props":2343,"children":2344},{"style":937},[2345],{"type":663,"value":1734},{"type":658,"tag":857,"props":2347,"children":2348},{"style":1737},[2349],{"type":663,"value":2350},"\"pending\"",{"type":658,"tag":857,"props":2352,"children":2353},{"style":1721},[2354],{"type":663,"value":2355}," @click",{"type":658,"tag":857,"props":2357,"children":2358},{"style":937},[2359],{"type":663,"value":1734},{"type":658,"tag":857,"props":2361,"children":2362},{"style":1737},[2363],{"type":663,"value":2364},"\"signInWith('github')\"",{"type":658,"tag":857,"props":2366,"children":2367},{"style":1710},[2368],{"type":663,"value":1745},{"type":658,"tag":857,"props":2370,"children":2371},{"style":937},[2372],{"type":663,"value":2373},"Continue with GitHub",{"type":658,"tag":857,"props":2375,"children":2376},{"style":1710},[2377],{"type":663,"value":2293},{"type":658,"tag":857,"props":2379,"children":2380},{"style":1715},[2381],{"type":663,"value":2336},{"type":658,"tag":857,"props":2383,"children":2384},{"style":1710},[2385],{"type":663,"value":1745},{"type":663,"value":905},{"type":658,"tag":857,"props":2388,"children":2389},{"class":859,"style":860},[2390,2394,2398,2402,2406,2410,2414,2418,2423,2427,2432,2436,2440],{"type":658,"tag":857,"props":2391,"children":2392},{"style":1710},[2393],{"type":663,"value":2331},{"type":658,"tag":857,"props":2395,"children":2396},{"style":1715},[2397],{"type":663,"value":2336},{"type":658,"tag":857,"props":2399,"children":2400},{"style":1721},[2401],{"type":663,"value":2341},{"type":658,"tag":857,"props":2403,"children":2404},{"style":937},[2405],{"type":663,"value":1734},{"type":658,"tag":857,"props":2407,"children":2408},{"style":1737},[2409],{"type":663,"value":2350},{"type":658,"tag":857,"props":2411,"children":2412},{"style":1721},[2413],{"type":663,"value":2355},{"type":658,"tag":857,"props":2415,"children":2416},{"style":937},[2417],{"type":663,"value":1734},{"type":658,"tag":857,"props":2419,"children":2420},{"style":1737},[2421],{"type":663,"value":2422},"\"signInWith('google')\"",{"type":658,"tag":857,"props":2424,"children":2425},{"style":1710},[2426],{"type":663,"value":1745},{"type":658,"tag":857,"props":2428,"children":2429},{"style":937},[2430],{"type":663,"value":2431},"Continue with Google",{"type":658,"tag":857,"props":2433,"children":2434},{"style":1710},[2435],{"type":663,"value":2293},{"type":658,"tag":857,"props":2437,"children":2438},{"style":1715},[2439],{"type":663,"value":2336},{"type":658,"tag":857,"props":2441,"children":2442},{"style":1710},[2443],{"type":663,"value":1745},{"type":663,"value":905},{"type":658,"tag":857,"props":2446,"children":2447},{"class":859,"style":860},[2448,2452,2456,2461,2465,2470,2475,2479,2484,2488,2493,2497,2501],{"type":658,"tag":857,"props":2449,"children":2450},{"style":1710},[2451],{"type":663,"value":2331},{"type":658,"tag":857,"props":2453,"children":2454},{"style":1715},[2455],{"type":663,"value":659},{"type":658,"tag":857,"props":2457,"children":2458},{"style":1721},[2459],{"type":663,"value":2460}," v-if",{"type":658,"tag":857,"props":2462,"children":2463},{"style":937},[2464],{"type":663,"value":1734},{"type":658,"tag":857,"props":2466,"children":2467},{"style":1737},[2468],{"type":663,"value":2469},"\"signInError\"",{"type":658,"tag":857,"props":2471,"children":2472},{"style":1721},[2473],{"type":663,"value":2474}," role",{"type":658,"tag":857,"props":2476,"children":2477},{"style":937},[2478],{"type":663,"value":1734},{"type":658,"tag":857,"props":2480,"children":2481},{"style":1737},[2482],{"type":663,"value":2483},"\"alert\"",{"type":658,"tag":857,"props":2485,"children":2486},{"style":1710},[2487],{"type":663,"value":1745},{"type":658,"tag":857,"props":2489,"children":2490},{"style":937},[2491],{"type":663,"value":2492},"{{ signInError }}",{"type":658,"tag":857,"props":2494,"children":2495},{"style":1710},[2496],{"type":663,"value":2293},{"type":658,"tag":857,"props":2498,"children":2499},{"style":1715},[2500],{"type":663,"value":659},{"type":658,"tag":857,"props":2502,"children":2503},{"style":1710},[2504],{"type":663,"value":1745},{"type":663,"value":905},{"type":658,"tag":857,"props":2507,"children":2508},{"class":859,"style":860},[2509,2513,2517],{"type":658,"tag":857,"props":2510,"children":2511},{"style":1710},[2512],{"type":663,"value":2293},{"type":658,"tag":857,"props":2514,"children":2515},{"style":1715},[2516],{"type":663,"value":2318},{"type":658,"tag":857,"props":2518,"children":2519},{"style":1710},[2520],{"type":663,"value":1745},{"type":658,"tag":659,"props":2522,"children":2523},{},[2524,2529,2531,2536,2538,2542,2544,2548,2550,2555,2557,2562],{"type":658,"tag":678,"props":2525,"children":2526},{},[2527],{"type":663,"value":2528},"callbackURL",{"type":663,"value":2530}," and ",{"type":658,"tag":678,"props":2532,"children":2533},{},[2534],{"type":663,"value":2535},"errorCallbackURL",{"type":663,"value":2537}," are local paths in your application.\nWhen the provider step fails, Better Auth sends the browser to\n",{"type":658,"tag":678,"props":2539,"children":2540},{},[2541],{"type":663,"value":2535},{"type":663,"value":2543}," with an ",{"type":658,"tag":678,"props":2545,"children":2546},{},[2547],{"type":663,"value":1925},{"type":663,"value":2549}," query parameter. ",{"type":658,"tag":678,"props":2551,"children":2552},{},[2553],{"type":663,"value":2554},"useConvexAuthReturnTo()",{"type":663,"value":2556},"\nreturns the page that sent the user to sign in, or ",{"type":658,"tag":678,"props":2558,"children":2559},{},[2560],{"type":663,"value":2561},"null",{"type":663,"value":1277},{"type":658,"tag":686,"props":2564,"children":2566},{"id":2565},"account-linking-rules",[2567],{"type":663,"value":2568},"Account linking rules",{"type":658,"tag":659,"props":2570,"children":2571},{},[2572,2576],{"type":658,"tag":678,"props":2573,"children":2574},{},[2575],{"type":663,"value":1109},{"type":663,"value":2577}," fixes these rules. You cannot turn them off:",{"type":658,"tag":2579,"props":2580,"children":2581},"ul",{},[2582,2600,2605],{"type":658,"tag":2583,"props":2584,"children":2585},"li",{},[2586,2588,2592,2594,2599],{"type":663,"value":2587},"A social sign-in never joins an existing account automatically. If a user\nwith the same email address already exists, the sign-in fails and Better\nAuth redirects to ",{"type":658,"tag":678,"props":2589,"children":2590},{},[2591],{"type":663,"value":2535},{"type":663,"value":2593}," with ",{"type":658,"tag":678,"props":2595,"children":2596},{},[2597],{"type":663,"value":2598},"error=account_not_linked",{"type":663,"value":1277},{"type":658,"tag":2583,"props":2601,"children":2602},{},[2603],{"type":663,"value":2604},"A provider account can join only an account with the same email address.",{"type":658,"tag":2583,"props":2606,"children":2607},{},[2608],{"type":663,"value":2609},"A user cannot remove the last sign-in method from an account.",{"type":658,"tag":659,"props":2611,"children":2612},{},[2613,2615,2620],{"type":663,"value":2614},"To join a provider to an existing account, the user signs in first with the\nexisting method. Then the application calls ",{"type":658,"tag":678,"props":2616,"children":2617},{},[2618],{"type":663,"value":2619},"client.linkSocial()",{"type":663,"value":1466},{"type":658,"tag":847,"props":2622,"children":2623},{"language":1084,"class":850},[2624],{"type":658,"tag":678,"props":2625,"children":2626},{"class":1089},[2627,2654,2655,2658,2659],{"type":658,"tag":857,"props":2628,"children":2629},{"class":859,"style":860},[2630,2634,2638,2642,2646,2650],{"type":658,"tag":857,"props":2631,"children":2632},{"style":1204},[2633],{"type":663,"value":1787},{"type":658,"tag":857,"props":2635,"children":2636},{"style":937},[2637],{"type":663,"value":1104},{"type":658,"tag":857,"props":2639,"children":2640},{"style":1259},[2641],{"type":663,"value":1823},{"type":658,"tag":857,"props":2643,"children":2644},{"style":937},[2645],{"type":663,"value":1837},{"type":658,"tag":857,"props":2647,"children":2648},{"style":864},[2649],{"type":663,"value":1842},{"type":658,"tag":857,"props":2651,"children":2652},{"style":937},[2653],{"type":663,"value":1806},{"type":663,"value":905},{"type":658,"tag":857,"props":2656,"children":2657},{"class":859,"style":860},[],{"type":663,"value":905},{"type":658,"tag":857,"props":2660,"children":2661},{"class":859,"style":860},[2662,2666,2670,2674,2679,2683,2688,2693,2697,2702,2707],{"type":658,"tag":857,"props":2663,"children":2664},{"style":1096},[2665],{"type":663,"value":2122},{"type":658,"tag":857,"props":2667,"children":2668},{"style":926},[2669],{"type":663,"value":2127},{"type":658,"tag":857,"props":2671,"children":2672},{"style":937},[2673],{"type":663,"value":1277},{"type":658,"tag":857,"props":2675,"children":2676},{"style":864},[2677],{"type":663,"value":2678},"linkSocial",{"type":658,"tag":857,"props":2680,"children":2681},{"style":937},[2682],{"type":663,"value":1759},{"type":658,"tag":857,"props":2684,"children":2685},{"style":926},[2686],{"type":663,"value":2687},"provider:",{"type":658,"tag":857,"props":2689,"children":2690},{"style":870},[2691],{"type":663,"value":2692}," 'github'",{"type":658,"tag":857,"props":2694,"children":2695},{"style":937},[2696],{"type":663,"value":757},{"type":658,"tag":857,"props":2698,"children":2699},{"style":926},[2700],{"type":663,"value":2701},"callbackURL:",{"type":658,"tag":857,"props":2703,"children":2704},{"style":870},[2705],{"type":663,"value":2706}," '\u002Fsettings\u002Faccounts'",{"type":658,"tag":857,"props":2708,"children":2709},{"style":937},[2710],{"type":663,"value":1774},{"type":658,"tag":659,"props":2712,"children":2713},{},[2714,2716,2721],{"type":663,"value":2715},"Better Auth accepts the link only when the provider reports the email address\nas verified. To accept a provider without that report, list it in\n",{"type":658,"tag":678,"props":2717,"children":2718},{},[2719],{"type":663,"value":2720},"account.accountLinking.trustedProviders",{"type":663,"value":1466},{"type":658,"tag":847,"props":2723,"children":2724},{"language":1084,"filename":1085,"class":850},[2725],{"type":658,"tag":678,"props":2726,"children":2727},{"class":1089},[2728,2779,2780,2803,2804,2815,2816,2839,2840,2863,2864,2871,2872,2879,2880,2920,2921],{"type":658,"tag":857,"props":2729,"children":2730},{"class":859,"style":860},[2731,2735,2739,2743,2747,2751,2755,2759,2763,2767,2771,2775],{"type":658,"tag":857,"props":2732,"children":2733},{"style":1096},[2734],{"type":663,"value":1402},{"type":658,"tag":857,"props":2736,"children":2737},{"style":1204},[2738],{"type":663,"value":1407},{"type":658,"tag":857,"props":2740,"children":2741},{"style":1259},[2742],{"type":663,"value":1412},{"type":658,"tag":857,"props":2744,"children":2745},{"style":937},[2746],{"type":663,"value":1267},{"type":658,"tag":857,"props":2748,"children":2749},{"style":864},[2750],{"type":663,"value":1109},{"type":658,"tag":857,"props":2752,"children":2753},{"style":937},[2754],{"type":663,"value":1425},{"type":658,"tag":857,"props":2756,"children":2757},{"style":1230},[2758],{"type":663,"value":1180},{"type":658,"tag":857,"props":2760,"children":2761},{"style":937},[2762],{"type":663,"value":1434},{"type":658,"tag":857,"props":2764,"children":2765},{"style":926},[2766],{"type":663,"value":1145},{"type":658,"tag":857,"props":2768,"children":2769},{"style":937},[2770],{"type":663,"value":1277},{"type":658,"tag":857,"props":2772,"children":2773},{"style":926},[2774],{"type":663,"value":1447},{"type":658,"tag":857,"props":2776,"children":2777},{"style":937},[2778],{"type":663,"value":1452},{"type":663,"value":905},{"type":658,"tag":857,"props":2781,"children":2782},{"class":859,"style":860},[2783,2787,2791,2795,2799],{"type":658,"tag":857,"props":2784,"children":2785},{"style":864},[2786],{"type":663,"value":1461},{"type":658,"tag":857,"props":2788,"children":2789},{"style":926},[2790],{"type":663,"value":1466},{"type":658,"tag":857,"props":2792,"children":2793},{"style":937},[2794],{"type":663,"value":1471},{"type":658,"tag":857,"props":2796,"children":2797},{"style":1204},[2798],{"type":663,"value":1476},{"type":658,"tag":857,"props":2800,"children":2801},{"style":937},[2802],{"type":663,"value":1481},{"type":663,"value":905},{"type":658,"tag":857,"props":2805,"children":2806},{"class":859,"style":860},[2807,2811],{"type":658,"tag":857,"props":2808,"children":2809},{"style":926},[2810],{"type":663,"value":1490},{"type":658,"tag":857,"props":2812,"children":2813},{"style":937},[2814],{"type":663,"value":1247},{"type":663,"value":905},{"type":658,"tag":857,"props":2817,"children":2818},{"class":859,"style":860},[2819,2823,2827,2831,2835],{"type":658,"tag":857,"props":2820,"children":2821},{"style":926},[2822],{"type":663,"value":1503},{"type":658,"tag":857,"props":2824,"children":2825},{"style":864},[2826],{"type":663,"value":1212},{"type":658,"tag":857,"props":2828,"children":2829},{"style":937},[2830],{"type":663,"value":1217},{"type":658,"tag":857,"props":2832,"children":2833},{"style":870},[2834],{"type":663,"value":1516},{"type":658,"tag":857,"props":2836,"children":2837},{"style":937},[2838],{"type":663,"value":1521},{"type":663,"value":905},{"type":658,"tag":857,"props":2841,"children":2842},{"class":859,"style":860},[2843,2847,2851,2855,2859],{"type":658,"tag":857,"props":2844,"children":2845},{"style":926},[2846],{"type":663,"value":1530},{"type":658,"tag":857,"props":2848,"children":2849},{"style":864},[2850],{"type":663,"value":1212},{"type":658,"tag":857,"props":2852,"children":2853},{"style":937},[2854],{"type":663,"value":1217},{"type":658,"tag":857,"props":2856,"children":2857},{"style":870},[2858],{"type":663,"value":1543},{"type":658,"tag":857,"props":2860,"children":2861},{"style":937},[2862],{"type":663,"value":1521},{"type":663,"value":905},{"type":658,"tag":857,"props":2865,"children":2866},{"class":859,"style":860},[2867],{"type":658,"tag":857,"props":2868,"children":2869},{"style":937},[2870],{"type":663,"value":1556},{"type":663,"value":905},{"type":658,"tag":857,"props":2873,"children":2874},{"class":859,"style":860},[2875],{"type":658,"tag":857,"props":2876,"children":2877},{"style":937},[2878],{"type":663,"value":1636},{"type":663,"value":905},{"type":658,"tag":857,"props":2881,"children":2882},{"class":859,"style":860},[2883,2888,2892,2897,2901,2906,2911,2915],{"type":658,"tag":857,"props":2884,"children":2885},{"style":926},[2886],{"type":663,"value":2887},"  account:",{"type":658,"tag":857,"props":2889,"children":2890},{"style":937},[2891],{"type":663,"value":1104},{"type":658,"tag":857,"props":2893,"children":2894},{"style":926},[2895],{"type":663,"value":2896},"accountLinking:",{"type":658,"tag":857,"props":2898,"children":2899},{"style":937},[2900],{"type":663,"value":1104},{"type":658,"tag":857,"props":2902,"children":2903},{"style":926},[2904],{"type":663,"value":2905},"trustedProviders:",{"type":658,"tag":857,"props":2907,"children":2908},{"style":937},[2909],{"type":663,"value":2910}," [",{"type":658,"tag":857,"props":2912,"children":2913},{"style":870},[2914],{"type":663,"value":2061},{"type":658,"tag":857,"props":2916,"children":2917},{"style":937},[2918],{"type":663,"value":2919},"] } },",{"type":663,"value":905},{"type":658,"tag":857,"props":2922,"children":2923},{"class":859,"style":860},[2924],{"type":658,"tag":857,"props":2925,"children":2926},{"style":937},[2927],{"type":663,"value":1645},{"type":658,"tag":659,"props":2929,"children":2930},{},[2931,2933,2938],{"type":663,"value":2932},"Each name must be unique and must be a configured provider. Otherwise the\nfactory fails with ",{"type":658,"tag":678,"props":2934,"children":2935},{},[2936],{"type":663,"value":2937},"AUTH_CONFIG_INVALID",{"type":663,"value":2939},". Trust a provider only when you know\nthat it checks email ownership.",{"type":658,"tag":686,"props":2941,"children":2943},{"id":2942},"provider-tokens-stay-in-convex",[2944],{"type":663,"value":2945},"Provider tokens stay in Convex",{"type":658,"tag":659,"props":2947,"children":2948},{},[2949,2951,2956,2957,2962],{"type":663,"value":2950},"Better Auth stores the provider's access, refresh, and ID tokens encrypted in\nthe auth component. The ",{"type":658,"tag":678,"props":2952,"children":2953},{},[2954],{"type":663,"value":2955},"\u002Fget-access-token",{"type":663,"value":2530},{"type":658,"tag":678,"props":2958,"children":2959},{},[2960],{"type":663,"value":2961},"\u002Frefresh-token",{"type":663,"value":2963}," routes are\nturned off. Your application cannot read these tokens, so it cannot call the\nGitHub or Google API as the user. Use a separate integration for that.",{"type":658,"tag":686,"props":2965,"children":2967},{"id":2966},"test-the-flow",[2968],{"type":663,"value":2969},"Test the flow",{"type":658,"tag":2971,"props":2972,"children":2973},"ol",{},[2974,2979,2984,2989,2994],{"type":658,"tag":2583,"props":2975,"children":2976},{},[2977],{"type":663,"value":2978},"Sign in with each provider on the deployed origin.",{"type":658,"tag":2583,"props":2980,"children":2981},{},[2982],{"type":663,"value":2983},"Reload the page and check that the session stays.",{"type":658,"tag":2583,"props":2985,"children":2986},{},[2987],{"type":663,"value":2988},"Sign out and sign in again.",{"type":658,"tag":2583,"props":2990,"children":2991},{},[2992],{"type":663,"value":2993},"Create an email account, then try a social sign-in with the same email.\nCheck that the sign-in fails and your error page explains the next step.",{"type":658,"tag":2583,"props":2995,"children":2996},{},[2997],{"type":663,"value":2998},"Sign in with email, link the provider, sign out, and sign in with the\nprovider.",{"title":3000,"searchDepth":3001,"depth":3001,"links":3002},"",4,[3003,3005,3006,3007,3008,3009,3010],{"id":688,"depth":3004,"text":691},2,{"id":830,"depth":3004,"text":833},{"id":1073,"depth":3004,"text":1076},{"id":1680,"depth":3004,"text":1683},{"id":2565,"depth":3004,"text":2568},{"id":2942,"depth":3004,"text":2945},{"id":2966,"depth":3004,"text":2969},"markdown","docs",{"source":3014,"path":3015,"stem":3016,"dir":3017,"extension":3018},"content","docs\u002F3.build\u002F3.authentication\u002F12.social-sign-in.md","docs\u002F3.build\u002F3.authentication\u002F12.social-sign-in","authentication","md",{"requestedPath":284,"resolvedPath":284,"alternates":3020},[],{"requested":3022,"resolved":3023,"usedFallback":6},{},{"locale":8},{"previous":3025,"next":3027},{"title":272,"id":273,"canonicalKey":274,"locale":8,"draft":6,"navigation":3026,"icon":276,"path":277},{"icon":276},{"title":286,"id":287,"canonicalKey":288,"locale":8,"draft":6,"navigation":3028,"icon":290,"path":291},{"icon":290},{"left":3030,"top":3030,"width":3031,"height":3031,"rotate":3030,"vFlip":6,"hFlip":6,"body":3032},0,24,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 19h8M4 17l6-6l-6-6\"\u002F>",{"left":3030,"top":3030,"width":3034,"height":3035,"rotate":3030,"vFlip":6,"hFlip":6,"body":3036},256,221,"\u003Cpath fill=\"#41b883\" d=\"M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0z\"\u002F>\u003Cpath fill=\"#41b883\" d=\"m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0z\"\u002F>\u003Cpath fill=\"#35495e\" d=\"M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0z\"\u002F>",{"left":3030,"top":3030,"width":3034,"height":3034,"rotate":3030,"vFlip":6,"hFlip":6,"body":3038},"\u003Cpath fill=\"#3178c6\" d=\"M20 0h216c11.046 0 20 8.954 20 20v216c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20V20C0 8.954 8.954 0 20 0\"\u002F>\u003Cpath fill=\"#fff\" d=\"M150.518 200.475v27.62q6.738 3.453 15.938 5.179T185.849 235q9.934 0 18.874-1.899t15.678-6.257q6.738-4.359 10.669-11.394q3.93-7.033 3.93-17.391q0-7.51-2.246-13.163a30.8 30.8 0 0 0-6.479-10.055q-4.232-4.402-10.149-7.898t-13.347-6.602q-5.442-2.245-9.761-4.359t-7.342-4.316q-3.024-2.2-4.665-4.661t-1.641-5.567q0-2.848 1.468-5.135q1.469-2.288 4.147-3.927t6.565-2.547q3.887-.906 8.638-.906q3.456 0 7.299.518q3.844.517 7.732 1.597a54 54 0 0 1 7.558 2.719a41.7 41.7 0 0 1 6.781 3.797v-25.807q-6.306-2.417-13.778-3.582T198.633 107q-9.847 0-18.658 2.115q-8.811 2.114-15.506 6.602q-6.694 4.49-10.582 11.437Q150 134.102 150 143.769q0 12.342 7.127 21.06t21.638 14.759a292 292 0 0 1 10.625 4.575q4.924 2.244 8.509 4.66t5.658 5.265t2.073 6.474a9.9 9.9 0 0 1-1.296 4.963q-1.295 2.287-3.93 3.97t-6.565 2.632t-9.2.95q-8.983 0-17.794-3.151t-16.327-9.451m-46.036-68.733H140V109H41v22.742h35.345V233h28.137z\"\u002F>",{"left":3030,"top":3030,"width":3031,"height":3031,"rotate":3030,"vFlip":6,"hFlip":6,"body":3040},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"\u002F>\u003Cpath d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"\u002F>\u003C\u002Fg>",1790591495459]