[PR #6811] [MERGED] docs(convex): update guide for Convex component 0.10 #6898

Closed
opened 2026-03-13 13:16:14 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6811
Author: @erquhart
Created: 12/16/2025
Status: Merged
Merged: 12/17/2025
Merged by: @Bekacru

Base: canaryHead: docs/convex-0-10


📝 Commits (1)

  • 4a4969f docs(convex): update guide for Convex component 0.10

📊 Changes

1 file changed (+139 additions, -79 deletions)

View changed files

📝 docs/content/docs/integrations/convex.mdx (+139 -79)

📄 Description

Aligns with latest: https://convex-better-auth.netlify.app/framework-guides/next

Summary by cubic

Updated the Convex + Better Auth guide for component 0.10 with new Next.js server utilities, SSR preloading, and cleaner env vars to simplify setup. Also bumped better-auth to 1.4.7 and updated samples to use the new auth config provider and fetchAuth helpers.

  • Migration
    • Upgrade to better-auth@1.4.7.
    • Use getAuthConfigProvider and pass authConfig to convex({ authConfig }).
    • Move URLs to NEXT_PUBLIC_SITE_URL, NEXT_PUBLIC_CONVEX_URL, and NEXT_PUBLIC_CONVEX_SITE_URL.
    • Add convexBetterAuthNextJs utilities; use handler for the auth route and fetchAuth* helpers in server code.
    • Update ConvexClientProvider to accept initialToken and use SSR preloading via preloadAuthQuery/usePreloadedAuthQuery.

Written for commit 4a4969f849. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6811 **Author:** [@erquhart](https://github.com/erquhart) **Created:** 12/16/2025 **Status:** ✅ Merged **Merged:** 12/17/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `docs/convex-0-10` --- ### 📝 Commits (1) - [`4a4969f`](https://github.com/better-auth/better-auth/commit/4a4969f8491e40632ec50c0c46adb2958aa18d44) docs(convex): update guide for Convex component 0.10 ### 📊 Changes **1 file changed** (+139 additions, -79 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/convex.mdx` (+139 -79) </details> ### 📄 Description Aligns with latest: https://convex-better-auth.netlify.app/framework-guides/next <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Updated the Convex + Better Auth guide for component 0.10 with new Next.js server utilities, SSR preloading, and cleaner env vars to simplify setup. Also bumped better-auth to 1.4.7 and updated samples to use the new auth config provider and fetchAuth helpers. - **Migration** - Upgrade to better-auth@1.4.7. - Use getAuthConfigProvider and pass authConfig to convex({ authConfig }). - Move URLs to NEXT_PUBLIC_SITE_URL, NEXT_PUBLIC_CONVEX_URL, and NEXT_PUBLIC_CONVEX_SITE_URL. - Add convexBetterAuthNextJs utilities; use handler for the auth route and fetchAuth* helpers in server code. - Update ConvexClientProvider to accept initialToken and use SSR preloading via preloadAuthQuery/usePreloadedAuthQuery. <sup>Written for commit 4a4969f8491e40632ec50c0c46adb2958aa18d44. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:16:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6898