Added missing backslash (#333)

Some request examples missed a backslash
This commit is contained in:
Clemens Gutweiler 2018-04-06 07:26:20 +02:00 committed by Stian Thorgersen
parent ccaa54dc64
commit 51f1aeec67

View file

@ -168,7 +168,7 @@ curl -X POST \
-d "client_secret=geheim" \ -d "client_secret=geheim" \
--data-urlencode "grant_type=urn:ietf:params:oauth:grant-type:token-exchange" \ --data-urlencode "grant_type=urn:ietf:params:oauth:grant-type:token-exchange" \
-d "subject_token=...." \ -d "subject_token=...." \
--data-urlencode "requested_token_type=urn:ietf:params:oauth:token-type:refresh_token" --data-urlencode "requested_token_type=urn:ietf:params:oauth:token-type:refresh_token" \
-d "audience=target-client" \ -d "audience=target-client" \
http://localhost:8080/auth/realms/myrealm/protocol/openid-connect/token http://localhost:8080/auth/realms/myrealm/protocol/openid-connect/token
---- ----
@ -255,7 +255,7 @@ curl -X POST \
-d "client_secret=geheim" \ -d "client_secret=geheim" \
--data-urlencode "grant_type=urn:ietf:params:oauth:grant-type:token-exchange" \ --data-urlencode "grant_type=urn:ietf:params:oauth:grant-type:token-exchange" \
-d "subject_token=...." \ -d "subject_token=...." \
--data-urlencode "requested_token_type=urn:ietf:params:oauth:token-type:access_token" --data-urlencode "requested_token_type=urn:ietf:params:oauth:token-type:access_token" \
-d "requested_issuer=google" \ -d "requested_issuer=google" \
http://localhost:8080/auth/realms/myrealm/protocol/openid-connect/token http://localhost:8080/auth/realms/myrealm/protocol/openid-connect/token
---- ----
@ -344,7 +344,7 @@ curl -X POST \
--data-urlencode "grant_type=urn:ietf:params:oauth:grant-type:token-exchange" \ --data-urlencode "grant_type=urn:ietf:params:oauth:grant-type:token-exchange" \
-d "subject_token=...." \ -d "subject_token=...." \
-d "subject_issuer=myOidcProvider" \ -d "subject_issuer=myOidcProvider" \
--data-urlencode "subject_token_type=urn:ietf:params:oauth:token-type:access_token" --data-urlencode "subject_token_type=urn:ietf:params:oauth:token-type:access_token" \
-d "audience=target-client" \ -d "audience=target-client" \
http://localhost:8080/auth/realms/myrealm/protocol/openid-connect/token http://localhost:8080/auth/realms/myrealm/protocol/openid-connect/token
---- ----