[PR #9191] [MERGED] docs(cimd): recommend removal of allowUnauthenticatedClientRegistration for client deduplication #25392

Closed
opened 2026-04-15 22:51:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9191
Author: @dvanmali
Created: 4/14/2026
Status: Merged
Merged: 4/15/2026
Merged by: @gustavovalverde

Base: nextHead: cimdFixes


📝 Commits (3)

  • 3702e3e docs: add missing cimd config recommendations
  • 7f89b52 fix: copilot fixes
  • c3e1ef5 fix: improve wording

📊 Changes

3 files changed (+43 additions, -37 deletions)

View changed files

📝 .changeset/cimd-plugin.md (+2 -0)
📝 docs/content/docs/plugins/cimd.mdx (+36 -32)
📝 docs/content/docs/plugins/oauth-provider.mdx (+5 -5)

📄 Description

Add a recommendation to remove allowUnauthenticatedClientRegistration in most cases (eg MCP cases) which provides URL identification and deduplication of client ids for the same client.

Format fix for TypeTable to match other mdx files (lint fix formats it better this way).


Summary by cubic

Recommend disabling allowUnauthenticatedClientRegistration when using @better-auth/cimd (especially for MCP-only auth) so clients are identified by the client_id URL and duplicate registrations are avoided; keep it only if you need a fallback.

Docs: added a CIMD info callout, clarified that “unauthenticated” means “without an active session,” directed MCP users to CIMD, switched related callouts to info, and standardized the CIMD Options TypeTable in MDX.

Written for commit c3e1ef5e08. 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/9191 **Author:** [@dvanmali](https://github.com/dvanmali) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/15/2026 **Merged by:** [@gustavovalverde](https://github.com/gustavovalverde) **Base:** `next` ← **Head:** `cimdFixes` --- ### 📝 Commits (3) - [`3702e3e`](https://github.com/better-auth/better-auth/commit/3702e3ea5fe6a577732c0b82f1345878a0213171) docs: add missing cimd config recommendations - [`7f89b52`](https://github.com/better-auth/better-auth/commit/7f89b528ad445bebe4eeaeb02912871321820918) fix: copilot fixes - [`c3e1ef5`](https://github.com/better-auth/better-auth/commit/c3e1ef5e089864c9c921b1db1b58c7bc4197d66e) fix: improve wording ### 📊 Changes **3 files changed** (+43 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `.changeset/cimd-plugin.md` (+2 -0) 📝 `docs/content/docs/plugins/cimd.mdx` (+36 -32) 📝 `docs/content/docs/plugins/oauth-provider.mdx` (+5 -5) </details> ### 📄 Description Add a recommendation to remove `allowUnauthenticatedClientRegistration` in most cases (eg MCP cases) which provides URL identification and deduplication of client ids for the same client. Format fix for TypeTable to match other mdx files (`lint fix` formats it better this way). <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Recommend disabling `allowUnauthenticatedClientRegistration` when using `@better-auth/cimd` (especially for MCP-only auth) so clients are identified by the `client_id` URL and duplicate registrations are avoided; keep it only if you need a fallback. Docs: added a CIMD info callout, clarified that “unauthenticated” means “without an active session,” directed MCP users to CIMD, switched related callouts to info, and standardized the CIMD Options `TypeTable` in MDX. <sup>Written for commit c3e1ef5e089864c9c921b1db1b58c7bc4197d66e. 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-04-15 22:51:57 -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#25392