echo-swagger icon indicating copy to clipboard operation
echo-swagger copied to clipboard

feat: add oauth config setting to enable/disable pkce extension

Open PeterRodenkirchTNG opened this issue 1 year ago • 1 comments

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.

PeterRodenkirchTNG avatar Feb 10 '23 10:02 PeterRodenkirchTNG

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

seilersTNG avatar Feb 28 '24 10:02 seilersTNG