Repository navigation
(26.6) Check consento for JWT Authorization Grant - #52115
Conversation
Closes keycloak#52028 Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com> (cherry picked from commit 99da283)
96b5351 to
a2900eb
Compare
|
|
||
| String scopeParam = getRequestedScopes(); | ||
|
|
||
| if (!TokenManager.verifyConsentStillAvailable(session, user, client, TokenManager.getRequestedClientScopes(session, scopeParam, client, user))) { |
There was a problem hiding this comment.
this one differs from the original cherry pick, please can you elaborate on it? thanks
There was a problem hiding this comment.
verifyConsentStillAvailable has been refactored in 26.7 as part of parameterized scopes feature, I'm passing the scope parameter as a stream like before
There was a problem hiding this comment.
thanks for the explanation
|
there are 2 failures in the compatibility checks |
pskopek
left a comment
There was a problem hiding this comment.
The backported code looks fine! The test issues are not related to the change (looks like infrastructure issue). We can try to re-run a bit later.
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.AllowDenyAuthenticatorTest#testDenyAccessWithPropertyKeycloak CI - Forms IT (chrome) |
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.AllowDenyAuthenticatorTest#testDenyAccessWithPropertyKeycloak CI - Forms IT (chrome) |
1 similar comment
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.AllowDenyAuthenticatorTest#testDenyAccessWithPropertyKeycloak CI - Forms IT (chrome) |
Unreported flaky test detectedIf the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.forms.AllowDenyAuthenticatorTest#testDenyAccessWithPropertyKeycloak CI - Forms IT (chrome) |
Closes #52028
(cherry picked from commit 99da283)