Realm-management role not available for assigning to a realm admin

Hi there :wave:

I’m very new to keycloak and try to use i as a login provider for Humhub. I’m using an Email OTP flow with this custom extension. keycloak is on version 20.0.3 and running inside a docker container.

This is working so far.

What isn’t working is synching users between Humhub and keycloak. I have to provide credentials for the humhub realm’s administrator but I’m not able to create one following these instructions.

When I click the newly created role and chose the action “Add associated roles” I only see four roles: the one I just created, default-roles-humhub, offline_access, uma_authorization. realm-management is not available.

I tried opening client security-admin-console for the humhub realm, but I can’t log in because there isn’t a realm admin user with the required access rights. The master admin does have the required rights but isn’t a user in this realm and I don’t know how to log into the humhub realm’s security-admin-console as the master admin.

Has anyone some pointers how I can fix this? All instructions for adding realm admins seem straightforward so I guess I still have a fundamental misunderstanding or config error.

Thanks in advance!
Mario

So I solved by clicking “Filter by client” after I clicked Assign Roles :joy: and :pensive:

Still not able to connect Humhub for synching, but getting there.

edit: Can I mark my own answer as solution?

1 Like