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

Block public clients automatic authorization skip #1646

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

adam-h
Copy link
Contributor

@adam-h adam-h commented Mar 17, 2023

Non-confidential applications should not be able to skip the authorization stop, even if they have an existing matching_token.

From the issue:

According to RFC 8252 section 8.6, the authentication server should re-prompt for user consent, since the client's identity cannot be assured simply from the client_id parameter

Fixes #1589

Non-confidential applications should not be able to skip the authorization stop, even if they have an existing matching_token.

From the [issue](doorkeeper-gem#1589):
> According to RFC 8252 section 8.6, the authentication server should re-prompt for user consent, since the client's identity cannot be assured simply from the client_id parameter

Fixes doorkeeper-gem#1589
Copy link
Member

@nbulaj nbulaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍
Thanks!

@nbulaj nbulaj merged commit 313af27 into doorkeeper-gem:main Mar 20, 2023
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

Successfully merging this pull request may close these issues.

Non-confidential apps should always re-prompt for user consent
2 participants