Skip to content

Commit da283e8

Browse files
committed
Fix docs
1 parent dbfe558 commit da283e8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ The available flags are:
8080
--audience strings requested audience
8181
--auth-method string token endpoint authentication method
8282
--claims string use claims
83-
--rar string use rich authorization request (RAR)
8483
--client-id string client identifier
8584
--client-secret string client secret
8685
--dpop use DPoP
@@ -95,6 +94,7 @@ The available flags are:
9594
--par enable pushed authorization requests (PAR)
9695
--password string resource owner password credentials grant flow password
9796
--pkce enable proof key for code exchange (PKCE)
97+
--rar string use rich authorization request (RAR)
9898
--redirect-url string client redirect url (default "http://localhost:9876/callback")
9999
--refresh-token string refresh token
100100
--request-object pass request parameters as jwt

docs/examples.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,9 @@ oauth2c https://oauth2c.us.authz.cloudentity.io/oauth2c/demo \
417417

418418
Requesting Claims using the "claims" Request Parameter enables clients to request specific user attributes in an authorization, enhancing efficiency and security.
419419

420+
<details>
421+
<summary>Show example</summary>
422+
420423
``` sh
421424
oauth2c https://oauth2c.us.authz.cloudentity.io/oauth2c/demo \
422425
--client-id cauktionbud6q8ftlqq0 \
@@ -429,6 +432,8 @@ oauth2c https://oauth2c.us.authz.cloudentity.io/oauth2c/demo \
429432
--claims '{"id_token":{"email": {"essential": true}}}'
430433
```
431434

435+
</details>
436+
432437
### PKCE
433438

434439
The Proof Key for Code Exchange (PKCE) is an extension to the OAuth2 authorization code grant flow that

0 commit comments

Comments
 (0)