[PR #2992] [MERGED] doc update for client.oauth2.register. name -> client_name #30190

Closed
opened 2026-04-17 21:21:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2992
Author: @sethgw
Created: 6/11/2025
Status: Merged
Merged: 6/11/2025
Merged by: @Kinfe123

Base: mainHead: main


📝 Commits (1)

  • 2130a05 doc update for client.oauth2.register. name -> client_name

📊 Changes

2 files changed (+2 additions, -3 deletions)

View changed files

📝 demo/nextjs/app/apps/register/page.tsx (+1 -2)
📝 docs/content/docs/plugins/oidc-provider.mdx (+1 -1)

📄 Description

updates the docs to reflect the types

const application = await authClient.oauth2.register({
  client_name: "My Client",
  redirect_uris: ["https://client.example.com/callback"],
});

🔄 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/2992 **Author:** [@sethgw](https://github.com/sethgw) **Created:** 6/11/2025 **Status:** ✅ Merged **Merged:** 6/11/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`2130a05`](https://github.com/better-auth/better-auth/commit/2130a0559e98bae5d75c998042217a6b12547cb8) doc update for client.oauth2.register. name -> client_name ### 📊 Changes **2 files changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/app/apps/register/page.tsx` (+1 -2) 📝 `docs/content/docs/plugins/oidc-provider.mdx` (+1 -1) </details> ### 📄 Description updates the docs to reflect the types ``` const application = await authClient.oauth2.register({ client_name: "My Client", redirect_uris: ["https://client.example.com/callback"], }); ``` --- <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-17 21:21:31 -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#30190