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:

  1. The roles client 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.
  2. 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.

  1. Add the client roles mapper to the roles client scope.
    1. Go to Client scopes → roles → Mappers.
    2. 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).
    3. Save.
  2. Enable the Update Password required action.
    1. Go to Authentication → Required actions.
    2. Turn on Update Password.
  3. 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

  1. Sign in as an affected user and open /realms/<realm>/account. The Account Console loads with no access error.
  2. Decode that user's access token (for example in your browser's DevTools). resource_access.account.roles should now list the account-client roles.
  3. Start a password change from the Account Console. It should go through the Update Password flow.