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

Compatibility fix with is_confidential check in league's oauth2-server library #16

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

adambalint-srg
Copy link
Contributor

Signed-off-by: adambalint-srg adam.balint@srg.hu

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA yes

Description

The league/oauth2-server library makes an other check in ClientCredentialsGrant. It checks if the client is confidential, and if not, the flow will aborted with 401.

The tests have been failed because of this, so it's fixed in this pull request with some db-structure and test-db content modifications, and with a plus test to check both cases.

…r library

Signed-off-by: srggroup <adam.balint@srg.hu>
weierophinney added a commit that referenced this pull request Jun 30, 2020
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@weierophinney weierophinney merged commit 064a622 into mezzio:master Jun 30, 2020
weierophinney added a commit that referenced this pull request Jun 30, 2020
@weierophinney
Copy link
Contributor

Thanks, @adambalint-srg!

@adambalint-srg adambalint-srg deleted the dev-confidential-fix branch July 1, 2020 05:35
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.

None yet

2 participants