docs(oidc-provider): fix incorrect redirectURLs property name (#6734)

Co-authored-by: Gautam Manchandani <gautammanch@Gautams-MacBook-Air.local>
This commit is contained in:
Gautam Manchandani
2025-12-14 10:44:38 +05:30
committed by GitHub
parent a55a8a57f5
commit a91c021d40

View File

@@ -190,7 +190,7 @@ const auth = betterAuth({
clientSecret: "secure-secret-here",
name: "Internal Dashboard",
type: "web",
redirectURLs: ["https://dashboard.company.com/auth/callback"],
redirectUrls: ["https://dashboard.company.com/auth/callback"],
disabled: false,
skipConsent: true, // Skip consent for this trusted client
metadata: { internal: true }
@@ -200,7 +200,7 @@ const auth = betterAuth({
clientSecret: "mobile-secret",
name: "Company Mobile App",
type: "native",
redirectURLs: ["com.company.app://auth"],
redirectUrls: ["com.company.app://auth"],
disabled: false,
skipConsent: false, // Still require consent if needed
metadata: {}
@@ -450,7 +450,7 @@ Table Name: `oauthApplication`
isRequired: true
},
{
name: "redirectURLs",
name: "redirectUrls",
type: "string",
description: "Comma-separated list of redirect URLs",
isRequired: true