swaggo / gin-swagger

gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
MIT License
3.66k stars 266 forks source link

Allow to enable Proof Key for Code Exachange (PKCE) #271

Open thalionath opened 1 year ago

thalionath commented 1 year ago

Describe the PR Wires usePkceWithAuthorizationCodeGrant OAuth2 option of the Swagger UI to the options interface

Relation issue Closes https://github.com/swaggo/gin-swagger/issues/243

Additional context Allow library users to set the usePkceWithAuthorizationCodeGrant OAuth2 config option of the SwaggerUI https://swagger.io/docs/open-source-tools/swagger-ui/usage/oauth2/