echo-swagger
echo-swagger copied to clipboard
feat: add oauth config setting to enable/disable pkce extension
Describe the PR Add Proof Key for Code Exchange Support configurable with the OAuthConfig struct.
Relation issue https://github.com/swaggo/echo-swagger/issues/99
Additional context OAuth2 clients that only support Authorization Code Flow with PKCE do not work with the current feature set of echo-swagger. There is a flag for it in Swagger UI 3.24.0+: usePkceWithAuthorizationCodeGrant and these small changes fix the problem.
Hello, can you please consider reviewing and merging this PR. I think it is an important security feature that should be part of this library. Thank you. Best, Steffen