[PR #6692] [MERGED] docs: updated the accountInfo server side example #6829

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6692
Author: @Gaga86
Created: 12/11/2025
Status: Merged
Merged: 12/14/2025
Merged by: @himself65

Base: canaryHead: docs/account-info-example


📝 Commits (1)

📊 Changes

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

View changed files

📝 docs/content/docs/concepts/oauth.mdx (+1 -1)

📄 Description

The documentation was listing the usage example prior to better-auth version 1.4 which introduced some breaking changes as stated in: https://www.better-auth.com/blog/1-4#existing-auth-flows


Summary by cubic

Updated the server-side accountInfo example to match better-auth v1.4’s breaking change: pass accountId in query instead of body. This aligns the docs with the current API and prevents incorrect usage.

Written for commit 6d3dda03f5. 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/6692 **Author:** [@Gaga86](https://github.com/Gaga86) **Created:** 12/11/2025 **Status:** ✅ Merged **Merged:** 12/14/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/account-info-example` --- ### 📝 Commits (1) - [`6d3dda0`](https://github.com/better-auth/better-auth/commit/6d3dda03f509511a605e43840708369b7b84299a) docs: updated the accountInfo example for server side introduced by better-auth 1.4 breaking changes: https://www.better-auth.com/blog/1-4#existing-auth-flows ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/concepts/oauth.mdx` (+1 -1) </details> ### 📄 Description The documentation was listing the usage example prior to better-auth version 1.4 which introduced some breaking changes as stated in: https://www.better-auth.com/blog/1-4#existing-auth-flows <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated the server-side accountInfo example to match better-auth v1.4’s breaking change: pass accountId in query instead of body. This aligns the docs with the current API and prevents incorrect usage. <sup>Written for commit 6d3dda03f509511a605e43840708369b7b84299a. 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:13:08 -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#6829