Skip to content

Commit

Permalink
test with ID Token
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf committed Apr 12, 2024
1 parent 3c31382 commit 062e27d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/flash.http
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,19 @@ X-Csrf: 1
###
@accessToken={{getAccessToken.response.body.$.accessToken}}
@refreshToken={{getAccessToken.response.body.$.refreshToken}}
###
# @name getIdToken
GET {{$dotenv flash_api}}/api/token/id_token
Cookie: {{$dotenv flash_cookie}}
X-Csrf: 1
###
@idToken={{getIdToken.response.body.$}}

### Get Access Token from SAP Identity Authentication Service (IAS)
# @name requestAccessTokenIAS
POST {{$dotenv ias_base_url}}/oauth2/token
Authorization: Basic {{$dotenv flash_ias_client_id}}:{{$dotenv flash_ias_client_secret}}
Content-Type: application/x-www-form-urlencoded

grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
&assertion={{accessToken}}
&assertion={{idToken}}

0 comments on commit 062e27d

Please sign in to comment.