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

OAuth2AuthorizationCodeAuthenticationProvider should not issue refresh token to public client #296

Closed
jgrandja opened this issue May 20, 2021 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@jgrandja
Copy link
Collaborator

jgrandja commented May 20, 2021

The current implementation of OAuth2AuthorizationCodeAuthenticationProvider will issue a refresh token to a public client (authenticated via PKCE). This should not be allowed as there are a number of inherent risks with public clients and issuing a refresh token increases the risk to another level.

However, this capability may be introduced at a later point by implementing best practices outlined in OAuth 2.0 for Browser-Based Apps.

Related gh-297

@jgrandja jgrandja added the type: bug A general bug label May 20, 2021
@jgrandja jgrandja added this to the 0.1.2 milestone May 20, 2021
@jgrandja jgrandja changed the title OAuth2AuthorizationCodeAuthenticationProvider should not issue refresh token to public clients OAuth2AuthorizationCodeAuthenticationProvider should not issue refresh token to public client May 20, 2021
@jgrandja jgrandja modified the milestones: 0.1.2, 0.2.0 Jul 8, 2021
sjohnr added a commit to sjohnr/spring-authorization-server that referenced this issue Jul 28, 2021
sjohnr added a commit to sjohnr/spring-authorization-server that referenced this issue Jul 29, 2021
doba16 pushed a commit to doba16/spring-authorization-server that referenced this issue Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants