You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ATH test added in #1701, which is passing against Keycloak 26.0.8, is failing against Keycloak 26.1.0 in #1893. Documentation for this new version is here:
pointing to a failed call to TokenManager#isValidScope via AuthorizationEndpointChecker#checkValidScope. The failing scope is service_account, which is mentioned in the migration guide:
New client scope service_account for client_credentials grant mappers
Keycloak introduces a new client scope at the realm level called service_account which is in charge of adding the specific claims for client_credentials grant (client_id, clientHost and clientAddress) via protocol mappers. This scope will be automatically assigned to and unassigned from the client when the serviceAccountsEnabled option is set or unset in the client configuration.
Previously, the three mappers (Client Id, Client Host and Client IP Address) where added directly to the dedicated scope when the client was configured to enable service accounts, and they were never removed.
The behavior should be effectively the same for most Keycloak deployments because claims in the token are effectively same as before. You might be affected in cases when you are using a client credentials grant and you are preparing the Keycloak environment by some tooling that is manually removing or updating the three protocol mappers mentioned above. For instance, if you use an admin CLI script to enable a service-account for a client and then remove the built-in service-account protocol mappers, you may adjust your CLI to instead remove the assignment of the service_account client scope from the client instead of removing protocol mappers.
The text was updated successfully, but these errors were encountered:
The ATH test added in #1701, which is passing against Keycloak 26.0.8, is failing against Keycloak 26.1.0 in #1893. Documentation for this new version is here:
The Keycloak logs contain
pointing to a failed call to
TokenManager#isValidScope
viaAuthorizationEndpointChecker#checkValidScope
. The failing scope isservice_account
, which is mentioned in the migration guide:The text was updated successfully, but these errors were encountered: