Skip to content

Commit bbc8dfc

Browse files
committed
Fix auth on some APIs interactive reference
1 parent 516587a commit bbc8dfc

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

v0/catalog/knowyourcustomer/kyc_age_verification_openapi.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ paths:
4545
`mock_sandbox_access_token`
4646
operationId: verifyAge
4747
security:
48-
- openId:
48+
- three_legged:
4949
- kyc-age-verification:verify
5050
parameters:
5151
- $ref: '#/components/parameters/x-correlator'
@@ -115,9 +115,14 @@ paths:
115115

116116
components:
117117
securitySchemes:
118-
openId:
119-
type: openIdConnect
120-
openIdConnectUrl: https://example.com/.well-known/openid-configuration
118+
three_legged:
119+
type: oauth2
120+
flows:
121+
authorizationCode:
122+
authorizationUrl: https://{host}/authorize
123+
tokenUrl: https://{host}/token
124+
scopes:
125+
kyc: KYC Age Verification
121126

122127
headers:
123128
x-correlator:

v0/catalog/knowyourcustomer/kyc_tenure_openapi.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ paths:
4242
operationId: checkTenure
4343

4444
security:
45-
- openId:
45+
- three_legged:
4646
- kyc-tenure
4747

4848
requestBody:
@@ -76,9 +76,14 @@ paths:
7676

7777
components:
7878
securitySchemes:
79-
openId:
80-
type: openIdConnect
81-
openIdConnectUrl: https://example.com/.well-known/openid-configuration
79+
three_legged:
80+
type: oauth2
81+
flows:
82+
authorizationCode:
83+
authorizationUrl: https://{host}/authorize
84+
tokenUrl: https://{host}/token
85+
scopes:
86+
kyc: KYC Tenure Verification
8287

8388
headers:
8489
X-Correlator:

0 commit comments

Comments
 (0)