@@ -105,17 +105,31 @@ For more information on the available options and arguments run `oauth2c --help`
105105
106106## Example
107107
108- Run the following command to get an access token using authorization code flow:
108+ Run the following command to get an access token using
109+
110+ * authorization code flow
111+ * hybrid mode
112+ * TLS client auth
113+ * proof key for code exchange
114+ * jwt secure authorization response mode
115+ * pushed authorization requests
116+ * signed and encrypted request object
109117
110118``` sh
111119oauth2c https://oauth2c.us.authz.cloudentity.io/oauth2c/demo \
112- --client-id cauktionbud6q8ftlqq0 \
113- --client-secret HCwQ5uuUWBRHd04ivjX5Kl0Rz8zxMOekeLtqzki0GPc \
114- --response-types code \
115- --response-mode query \
120+ --client-id 3f07a8c2adea4c1ab353f3ca8e16b8fd \
121+ --response-types code,id_token \
122+ --response-mode form_post.jwt \
116123 --grant-type authorization_code \
117- --auth-method client_secret_basic \
118- --scopes openid,email,offline_access
124+ --auth-method tls_client_auth \
125+ --scopes openid,email,offline_access \
126+ --tls-cert https://raw.githubusercontent.com/cloudentity/oauth2c/master/data/cert.pem \
127+ --tls-key https://raw.githubusercontent.com/cloudentity/oauth2c/master/data/key.pem \
128+ --signing-key https://raw.githubusercontent.com/cloudentity/oauth2c/master/data/key.json \
129+ --encryption-key https://oauth2c.us.authz.cloudentity.io/oauth2c/demo/.well-known/jwks.json \
130+ --request-object \
131+ --pkce \
132+ --par
119133```
120134
121135See [ examples] ( docs/examples.md ) for more.
0 commit comments