Applies to: H2O AI Cloud (HAIC) deployments using the bundled Keycloak, observed on BC-FIPS-enabled clusters.
If users can't reach the Keycloak Account Console, check two realm settings: the roles client scope needs a client roles mapper, and the Update Password required action must be enabled.
Symptom
- Users can sign in to HAIC but can't open the Keycloak Account Console (
/realms/<realm>/account) to manage their own profile or password. - HAIC sign-in itself keeps working, so the problem shows up only in the Account Console.
Cause
Two realm configuration gaps:
- The
rolesclient scope has no client roles mapper. Without it, client roles aren't added to the user's token, so the Account Console can't see the account-client roles it checks. - The Update Password required action is disabled, which blocks the console's password-management flow.
Resolution
Make both changes in the Keycloak admin console, in the HAIC realm.
- Add the client roles mapper to the
rolesclient scope.- Go to Client scopes → roles → Mappers.
- Add a mapper by configuration and choose User Client Role. Map client roles into the token (Keycloak's default claim is
resource_access.${client_id}.roles). - Save.
- Enable the Update Password required action.
- Go to Authentication → Required actions.
- Turn on Update Password.
- Ask affected users to sign out and sign back in, so they get a new token with the client roles.
If access still fails after both changes, contact H2O Support with your HAIC version and the error shown in the Account Console.
How to verify
- Sign in as an affected user and open
/realms/<realm>/account. The Account Console loads with no access error. - Decode that user's access token (for example in your browser's DevTools).
resource_access.account.rolesshould now list the account-client roles. - Start a password change from the Account Console. It should go through the Update Password flow.