diff --git a/spec3.json b/spec3.json index 35f988c..1b7f759 100644 --- a/spec3.json +++ b/spec3.json @@ -7931,9 +7931,10 @@ "type": "string", "maxLength": 1024 }, - "description": "List of redirect URIs for the OAuth client.", + "description": "List of redirect URIs for the OAuth client. Each entry must be an absolute URL that includes a scheme, for example `https://example.com/callback`. Private-use URI schemes for native applications are also accepted, for example `com.example.app:/oauth2redirect` (see RFC 8252).", "example": [ - "https://example.com/callback" + "https://example.com/callback", + "com.example.app:/oauth2redirect" ] }, "published": { @@ -8038,9 +8039,10 @@ "type": "string", "maxLength": 1024 }, - "description": "List of redirect URIs for the OAuth client.", + "description": "List of redirect URIs for the OAuth client. Each entry must be an absolute URL that includes a scheme, for example `https://example.com/callback`. Private-use URI schemes for native applications are also accepted, for example `com.example.app:/oauth2redirect` (see RFC 8252).", "example": [ - "https://example.com/callback" + "https://example.com/callback", + "com.example.app:/oauth2redirect" ] }, "published": { diff --git a/spec3.yml b/spec3.yml index d47c43b..fe6fbd6 100644 --- a/spec3.yml +++ b/spec3.yml @@ -5607,8 +5607,13 @@ paths: items: type: string maxLength: 1024 - description: List of redirect URIs for the OAuth client. - example: ["https://example.com/callback"] + description: >- + List of redirect URIs for the OAuth client. Each entry must + be an absolute URL that includes a scheme, for example + `https://example.com/callback`. Private-use URI schemes for + native applications are also accepted, for example + `com.example.app:/oauth2redirect` (see RFC 8252). + example: ["https://example.com/callback", "com.example.app:/oauth2redirect"] published: type: boolean description: Whether the OAuth client is available to other workspaces. @@ -5683,8 +5688,13 @@ paths: items: type: string maxLength: 1024 - description: List of redirect URIs for the OAuth client. - example: ["https://example.com/callback"] + description: >- + List of redirect URIs for the OAuth client. Each entry must + be an absolute URL that includes a scheme, for example + `https://example.com/callback`. Private-use URI schemes for + native applications are also accepted, for example + `com.example.app:/oauth2redirect` (see RFC 8252). + example: ["https://example.com/callback", "com.example.app:/oauth2redirect"] published: type: boolean description: Whether the OAuth client is available to other workspaces.