Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@hmlnarik
Copy link
Contributor

Fixes: #29688
Relates to: #29640

@hmlnarik hmlnarik requested review from a team as code owners May 21, 2024 09:08
} else {
this.identity = new KeycloakIdentity(auth.getToken(), session);
ClientModel client = session.clients().getClientByClientId(auth.getRealm(), issuedFor);
if (client != null && Boolean.parseBoolean(client.getAttribute(Constants.SECURITY_ADMIN_CONSOLE_ATTR))) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a condition similar to the one added in the #29646

Copy link
Contributor

@rmartinc rmartinc left a comment

Choose a reason for hiding this comment

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

Thanks @hmlnarik! LGTM!

Copy link
Contributor

@mposolda mposolda left a comment

Choose a reason for hiding this comment

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

Approving as well based on @rmartinc review

@hmlnarik hmlnarik self-assigned this May 21, 2024
@hmlnarik hmlnarik merged commit 65fcd44 into keycloak:main May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

client_authorization_test fails

4 participants