Skip to content

Commit

Permalink
Merge pull request #4533 from JeethJJ/par-request-curl
Browse files Browse the repository at this point in the history
Improve curl request
  • Loading branch information
divyaamunugama authored Apr 9, 2024
2 parents 3edda77 + 849e8aa commit 07b4655
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The following example shows how you can initiate an authorization code flow usin
curl --location 'https://localhost:9443/oauth2/par'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'accept: application/json'
--header 'Authorization: Basic -u {CLIENT_ID}:{CLIENT_SECRET}'
--header 'Authorization: Basic <Base64Encoded(ClientID:ClientSecret)>'
--data-urlencode 'client_id={CLIENT_ID}'
--data-urlencode 'redirect_uri={REDIRECT_URI}'
--data-urlencode 'response_type=code'
Expand Down

0 comments on commit 07b4655

Please sign in to comment.