Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable OAuth Authorization Code Flow with PKCE in Swagger UI #680

Open
ellieayla opened this issue Aug 4, 2019 · 1 comment
Open

Enable OAuth Authorization Code Flow with PKCE in Swagger UI #680

ellieayla opened this issue Aug 4, 2019 · 1 comment

Comments

@ellieayla
Copy link
Contributor

ellieayla commented Aug 4, 2019

Support for retrieving an authorization token via OAuth Implicit Flow in Swagger UI was added in #585.

From https://oauth.net/2/grant-types/implicit/

The Implicit grant type is a simplified flow that can be used by public clients, where the access token is returned immediately without an extra authorization code exchange step.
It is generally not recommended to use the implicit flow (and some servers prohibit this flow entirely). In the time since the spec was originally written, the industry best practice has changed to recommend that public clients should use the authorization code flow with the PKCE extension instead.

When swagger-api/swagger-ui#5348 is implemented, we should add support for Authorization Code Flow with PKCE (or verify it just works).

@ellieayla ellieayla changed the title Support PKCE flow Enable OAuth Authorization Code Flow with PKCE in Swagger UI Aug 4, 2019
@TomaszLloyd
Copy link

I too would love to see this resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants