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

Closed
opened 2026-04-15 21:56:28 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/6692

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/6692 **State:** closed **Merged:** Yes --- 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. -->
GiteaMirror added the pull-request label 2026-04-15 21:56:28 -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#23730