-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
In components.securitySchemes
the app2AppOauth:clientCredentials
flow doesn’t include a scopes object.
https://learn.openapis.org/specification/security.html#oauth-20
components:
securitySchemes:
app2AppOauth:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://learn.openapis.org/oauth/2.0/token
# Only reading the board allow with delegated access
# <---- scopes: should be here
board:read: Read the board
user2AppOauth:
authorizationCode:
authorizationUrl: https://learn.openapis.org/oauth/2.0/auth
tokenUrl: https://learn.openapis.org/oauth/2.0/token
scopes:
# Reads and writes permitted via authorization code flow
board:read: Read the board
board:write: Write to the board
Metadata
Metadata
Assignees
Labels
No labels