-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03f5c3a
commit 0fc7d64
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
### | ||
GET {{$dotenv flash_api}}/bff/user | ||
Cookie: {{$dotenv flash_cookie}} | ||
X-Csrf: 1 | ||
### | ||
# @name getAccessToken | ||
GET {{$dotenv flash_api}}/api/token/bearer | ||
Cookie: {{$dotenv flash_cookie}} | ||
X-Csrf: 1 | ||
### | ||
@accessToken={{getAccessToken.response.body.$.accessToken}} | ||
@refreshToken={{getAccessToken.response.body.$.refreshToken}} | ||
### 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}} |