[PR #6734] [MERGED] docs(oidc-provider): fix incorrect redirectURLs property name #32457

Closed
opened 2026-04-17 23:15:48 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6734
Author: @GautamBytes
Created: 12/13/2025
Status: Merged
Merged: 12/14/2025
Merged by: @himself65

Base: canaryHead: docs/fix-oidc-redirect-urls


📝 Commits (1)

  • f2188d4 docs(oidc-provider): fix redirectURLs typo in examples and schema

📊 Changes

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

View changed files

📝 docs/content/docs/plugins/oidc-provider.mdx (+3 -3)

📄 Description

Description

This PR fixes a documentation error in the OIDC Provider plugin where the redirectUrls property was incorrectly referenced as redirectURLs (uppercase "URLs").

The internal code and TypeScript definitions expect redirectUrls (camelCase). Using the configuration currently shown in the docs causes client.redirectUrls to be undefined during runtime, leading to crashes in the authorize flow.

Changes

  • Updated trustedClients configuration examples to use redirectUrls.
  • Updated the Schema section (OAuth Application table) to show the correct column name redirectUrls.

Fixes #6724


Summary by cubic

Fixed the OIDC Provider docs to use redirectUrls (not redirectURLs) in trustedClients examples and the OAuth Application schema. This matches the code and prevents authorize flow crashes caused by undefined client.redirectUrls.

Written for commit f2188d4b74. 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/6734 **Author:** [@GautamBytes](https://github.com/GautamBytes) **Created:** 12/13/2025 **Status:** ✅ Merged **Merged:** 12/14/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/fix-oidc-redirect-urls` --- ### 📝 Commits (1) - [`f2188d4`](https://github.com/better-auth/better-auth/commit/f2188d4b7430962a4ccac00683f623566696ab4d) docs(oidc-provider): fix redirectURLs typo in examples and schema ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/oidc-provider.mdx` (+3 -3) </details> ### 📄 Description ## Description This PR fixes a documentation error in the **OIDC Provider** plugin where the `redirectUrls` property was incorrectly referenced as `redirectURLs` (uppercase "URLs"). The internal code and TypeScript definitions expect `redirectUrls` (camelCase). Using the configuration currently shown in the docs causes `client.redirectUrls` to be undefined during runtime, leading to crashes in the authorize flow. ## Changes - Updated `trustedClients` configuration examples to use `redirectUrls`. - Updated the **Schema** section (OAuth Application table) to show the correct column name `redirectUrls`. ## Related Issue Fixes #6724 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixed the OIDC Provider docs to use redirectUrls (not redirectURLs) in trustedClients examples and the OAuth Application schema. This matches the code and prevents authorize flow crashes caused by undefined client.redirectUrls. <sup>Written for commit f2188d4b7430962a4ccac00683f623566696ab4d. 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-04-17 23:15:48 -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#32457