Skip to content

Commit 612ea4f

Browse files
Fix #43: Add request body exchange code for access token endpoint
Signed-off-by: George J Padayatti <george.padayatti@igrant.io>
1 parent b70e67f commit 612ea4f

2 files changed

Lines changed: 18 additions & 7 deletions

File tree

openapi/v2023.11.1/bundled.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,18 +2925,21 @@ paths:
29252925
description: Exchange authorisation code for access token
29262926
operationId: exchangeCodeForToken
29272927
parameters:
2928-
- description: Unique ID of an object
2929-
in: query
2930-
name: redirectUri
2931-
required: true
2932-
schema:
2933-
type: string
29342928
- description: Unique ID of an object
29352929
in: query
29362930
name: authorisationCode
29372931
required: true
29382932
schema:
29392933
type: string
2934+
requestBody:
2935+
content:
2936+
application/json:
2937+
schema:
2938+
properties:
2939+
redirectUri:
2940+
type: string
2941+
description: Redirect URI as configured in OIDC client
2942+
type: object
29402943
responses:
29412944
'200':
29422945
content:

openapi/v2023.11.1/paths/exchangeCodeForToken.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,16 @@ deprecated: false
22
description: Exchange authorisation code for access token
33
operationId: exchangeCodeForToken
44
parameters:
5-
- $ref: "../parameters/redirectUri.yaml"
65
- $ref: "../parameters/authorisationCode.yaml"
6+
requestBody:
7+
content:
8+
application/json:
9+
schema:
10+
properties:
11+
redirectUri:
12+
type: string
13+
description: Redirect URI as configured in OIDC client
14+
type: object
715
responses:
816
"200":
917
content:

0 commit comments

Comments
 (0)