Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align securitySchemes with ICM #68

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions code/API_definitions/one-time-password-sms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ paths:
'504':
$ref: '#/components/responses/Generic504'
security:
- two_legged:
- openId:
- one-time-password-sms:send-validate
/validate-code:
post:
Expand Down Expand Up @@ -153,7 +153,7 @@ paths:
'504':
$ref: '#/components/responses/Generic504'
security:
- two_legged:
- openId:
- one-time-password-sms:send-validate
components:
schemas:
Expand Down Expand Up @@ -226,14 +226,9 @@ components:
type: string
description: Detailed error description
securitySchemes:
two_legged:
type: oauth2
description: oauth2 security schema
flows:
clientCredentials:
tokenUrl: https://auth.example.com/token
scopes:
one-time-password-sms:send-validate: Permission to send OTP by SMS and to validate it
openId:
type: openIdConnect
openIdConnectUrl: https://example.com/.well-known/openid-configuration
responses:
Generic400:
description: Problem with the client request
Expand Down