[PR #7194] [MERGED] fix(docs): correct tos and policy types in oauth-provider #7134

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7194
Author: @GautamBytes
Created: 1/8/2026
Status: Merged
Merged: 1/8/2026
Merged by: @ping-maxwell

Base: canaryHead: fix/oauth-provider-doc-types


📝 Commits (2)

  • 900ff5e docs: fix oauth provider schema type mismatch
  • 6010781 Merge branch 'canary' into fix/oauth-provider-doc-types

📊 Changes

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

View changed files

📝 docs/content/docs/plugins/oauth-provider.mdx (+2 -2)

📄 Description

Fixes a discrepancy in oauth-provider.mdx where tos and policy were incorrectly documented as string[].

The schema.ts implementation explicitly defines these fields as string. This change aligns the documentation with the actual code.

Closes #7180


Summary by cubic

Corrected oauth-provider docs: tos and policy are string, not string[]. This aligns with schema.ts and avoids confusion for implementers.

Written for commit 60107813b7. Summary will update 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/7194 **Author:** [@GautamBytes](https://github.com/GautamBytes) **Created:** 1/8/2026 **Status:** ✅ Merged **Merged:** 1/8/2026 **Merged by:** [@ping-maxwell](https://github.com/ping-maxwell) **Base:** `canary` ← **Head:** `fix/oauth-provider-doc-types` --- ### 📝 Commits (2) - [`900ff5e`](https://github.com/better-auth/better-auth/commit/900ff5ec27b596840abab0ebcb7537887fbafff8) docs: fix oauth provider schema type mismatch - [`6010781`](https://github.com/better-auth/better-auth/commit/60107813b73bef7142d20cc58ba46db0d41526fb) Merge branch 'canary' into fix/oauth-provider-doc-types ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/oauth-provider.mdx` (+2 -2) </details> ### 📄 Description Fixes a discrepancy in `oauth-provider.mdx` where `tos` and `policy` were incorrectly documented as `string[]`. The `schema.ts` implementation explicitly defines these fields as `string`. This change aligns the documentation with the actual code. Closes #7180 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Corrected oauth-provider docs: tos and policy are string, not string[]. This aligns with schema.ts and avoids confusion for implementers. <sup>Written for commit 60107813b73bef7142d20cc58ba46db0d41526fb. Summary will update 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:25:21 -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#7134