Skip to content

Commit d5214b6

Browse files
Merge pull request #2578 from Dorthu/feature/add-public-to-clients
Document OAuth Client public option
2 parents 5ed3357 + a08c77c commit d5214b6

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/src/data/endpoints/account.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,12 @@ endpoints:
381381
description: A URL to redirect to after the OAuth flow has completed.
382382
type: string
383383
limit: "1-512 characters"
384+
public:
385+
optional: true
386+
description: >
387+
If true, this client uses the implicit OAuth flow and does not
388+
use a client secret.
389+
type: Boolean
384390
examples:
385391
curl: |
386392
curl -H "Content-Type: application/json" \

docs/src/data/objects/client.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ schema:
2828
subtype: Status
2929
value: active
3030
description: The status of the client application.
31+
public:
32+
type: Boolean
33+
value: false
34+
description: If this client is public. Public clients use the implicit OAuth flow.
3135
enums:
3236
Status:
3337
active: The client application is active and accepting OAuth logins.

0 commit comments

Comments
 (0)