Disallow username/password access for a group of users
50 views
Skip to first unread message
Mirko Friedenhagen
unread,
Aug 18, 2022, 11:47:59 AM8/18/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Keycloak User
Hi everyone,
I am not sure wether it is OK if I ask the same question both in discourse and here, it seems the two are not synced:
In one realm (A) I configured a LDAP user federation with “real humans” and so called service accounts, the later ones are used for automation purposes (think CI, SonarQube).
Additionally I configured an (internal SAML) Identity Provider used as broker with the same accounts.
Now I want humans to use that IdP exclusively for login to Keycloak while service accounts must exclusively login via the username/password form in Keycloak.
I am able to differentiate real humans from service accounts in LDAP, the later ones having one distinctive LDAP attribute.
I already thought, I could create another realm B in Keycloak restricted to these service accounts without he internal SAML IdP and use realm B as additional IdP broker in realm A. Then I could just disallow *any* form based authentication into Keycloak in A?
Any hints are welcome :slight_smile:
Best Regards Mirko
Mirko Friedenhagen
unread,
Aug 18, 2022, 12:27:00 PM8/18/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message