I've been reading up on how to configure authentication and plugins to work with securitySchemes in an OpenAPI definition but I'm struggling to see how to configure the Playground to work with OAuth2 Client Credentials Flow.
The "Login" button seems to trigger an interaction redirect to the Identity Provider (IdP), which wouldn't be the case for client credentials.
I've gone through the docs pretty well but I could have also missed something.
Please can I get some help on how to configure this?
If there's a way to do this though plugins/customisation/etc, without modding the core zudoku, then I'm also open to that approach.
Expected Behaviour
If the OpenAPI definition supports OAuth Client Credentials flow, the user should be prompted to enter the following:
- Client ID
- Client Secret
- Scopes - either a basic string or checkboxes for all scopes listed in the securitySchemes.
This comment describes the problem quite well: #695 (comment)
See Also
I've been reading up on how to configure authentication and plugins to work with
securitySchemesin an OpenAPI definition but I'm struggling to see how to configure the Playground to work with OAuth2 Client Credentials Flow.The "Login" button seems to trigger an interaction redirect to the Identity Provider (IdP), which wouldn't be the case for client credentials.
I've gone through the docs pretty well but I could have also missed something.
Please can I get some help on how to configure this?
If there's a way to do this though plugins/customisation/etc, without modding the core zudoku, then I'm also open to that approach.
Expected Behaviour
If the OpenAPI definition supports OAuth Client Credentials flow, the user should be prompted to enter the following:
This comment describes the problem quite well: #695 (comment)
See Also