From 23038f59b4ef5a28ca61eb8155e06132c76a7998 Mon Sep 17 00:00:00 2001 From: Gregor Wolf Date: Thu, 18 Apr 2024 07:18:37 +0200 Subject: [PATCH] Token exchange with Flash IdP --- test/flash.http | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/flash.http b/test/flash.http index 1e406b4..02d1bb0 100644 --- a/test/flash.http +++ b/test/flash.http @@ -18,6 +18,15 @@ X-Csrf: 1 ### @idToken={{getIdToken.response.body.$}} +### Get Token from Flash IdP +# @name requestTokenFlashIdP +POST {{$dotenv flash_idp_token_url}} +Authorization: Basic {{$dotenv flash_idp_client_id}}:{{$dotenv flash_idp_client_secret}} +Content-Type: application/x-www-form-urlencoded + +grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer +&assertion={{idToken}} + ### Get Access Token from SAP Identity Authentication Service (IAS) # @name requestAccessTokenIAS POST {{$dotenv ias_base_url}}/oauth2/token