Skip to content

Commit

Permalink
Fix #43: Add request body exchange code for access token endpoint
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Nov 13, 2023
1 parent b70e67f commit 612ea4f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
15 changes: 9 additions & 6 deletions openapi/v2023.11.1/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 9 additions & 1 deletion openapi/v2023.11.1/paths/exchangeCodeForToken.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 612ea4f

Please sign in to comment.