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

Expand documentation to recommend PKCE for confidential clients #293

Open
Imberflur opened this issue Nov 25, 2024 · 0 comments
Open

Expand documentation to recommend PKCE for confidential clients #293

Imberflur opened this issue Nov 25, 2024 · 0 comments

Comments

@Imberflur
Copy link

https://docs.rs/oauth2/5.0.0-rc.1/oauth2/index.html#getting-started-authorization-code-grant-w-pkce currently notes:

PKCE is recommended whenever the OAuth2 client has no client secret or has a client secret that cannot remain confidential (e.g., native, mobile, or client-side web applications).

While researching what flow to use I found this comment which links some useful information on why PKCE is recommended even for confidential clients. This is pretty interesting and I feel like it would have been useful to find this when reading the crate docs.

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

1 participant