home
home copied to clipboard
OAuth2 Monitoring and Testing
Hi @kinlane,
Can Union Fashion demonstrate how to monitor and test an oauth2 endpoint defined in a openapi 3.0 spec? Something like this:
components:
securitySchemes:
OAuth2:
type: oauth2
flows:
authorizationCode:
authorizationUrl: /oauth/authorize
tokenUrl: /oauth/token
scopes:
read: read scope
write: write scope
security:
- OAuth2:
- write
- read
paths:
/orders:
patch:
summary: Creates a new order
security:
- OAuth2:
- write
- read
Interesting. I like this. I will add to the list of workflows to flesh out as part of future work.