From 612ea4f34a51ae2666159d60e65f91f0f497d557 Mon Sep 17 00:00:00 2001 From: George J Padayatti Date: Mon, 13 Nov 2023 15:42:31 +0530 Subject: [PATCH] Fix #43: Add request body exchange code for access token endpoint Signed-off-by: George J Padayatti --- openapi/v2023.11.1/bundled.yaml | 15 +++++++++------ .../v2023.11.1/paths/exchangeCodeForToken.yaml | 10 +++++++++- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/openapi/v2023.11.1/bundled.yaml b/openapi/v2023.11.1/bundled.yaml index abcb696..57dcdb6 100644 --- a/openapi/v2023.11.1/bundled.yaml +++ b/openapi/v2023.11.1/bundled.yaml @@ -2925,18 +2925,21 @@ paths: description: Exchange authorisation code for access token operationId: exchangeCodeForToken parameters: - - description: Unique ID of an object - in: query - name: redirectUri - required: true - schema: - type: string - description: Unique ID of an object in: query name: authorisationCode required: true schema: type: string + requestBody: + content: + application/json: + schema: + properties: + redirectUri: + type: string + description: Redirect URI as configured in OIDC client + type: object responses: '200': content: diff --git a/openapi/v2023.11.1/paths/exchangeCodeForToken.yaml b/openapi/v2023.11.1/paths/exchangeCodeForToken.yaml index a239edf..5ea16fa 100644 --- a/openapi/v2023.11.1/paths/exchangeCodeForToken.yaml +++ b/openapi/v2023.11.1/paths/exchangeCodeForToken.yaml @@ -2,8 +2,16 @@ deprecated: false description: Exchange authorisation code for access token operationId: exchangeCodeForToken parameters: - - $ref: "../parameters/redirectUri.yaml" - $ref: "../parameters/authorisationCode.yaml" +requestBody: + content: + application/json: + schema: + properties: + redirectUri: + type: string + description: Redirect URI as configured in OIDC client + type: object responses: "200": content: