Skip to content

Commit 84d4348

Browse files
improve token exchange sample curl
1 parent e780974 commit 84d4348

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

en/includes/guides/authentication/configure-token-exchange.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Follow the steps given below.
107107
curl --location '{{ product_url_format }}/oauth2/token'
108108
--header 'Content-Type: application/x-www-form-urlencoded'
109109
--header 'Authorization: Basic <base64 Encoded (clientId:clientSecret)>'
110+
--data-urlencode 'scope=<desired scopes>'
110111
--data-urlencode 'subject_token=<jwt_token>'
111112
--data-urlencode 'subject_token_type=urn:ietf:params:oauth:token-type:jwt'
112113
--data-urlencode 'requested_token_type=urn:ietf:params:oauth:token-type:access_token'

0 commit comments

Comments
 (0)