{"repo":"cnieg/keycloak-login-attribute","free":true,"listed":false,"github":"https://github.com/cnieg/keycloak-login-attribute","clone":"git clone https://github.com/cnieg/keycloak-login-attribute.git","description":"Adds the possibility for Keycloak to connect via a user attribute","language":"Java","stars":49,"topics":["authentication","keycloak","login","attribute-based","module","identity"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Keycloak Login Attribute SPI An Authentication Service Provider that adds the possibility for Keycloak to connect via a user attribute. Use Case If the username entered in the form does not match a primary identifier does not match email (if this option is enabled for realm) respect the desired regular expression Then the search by attribute is activated if this search returns a single user, password verification is activated Installation Just drop the jar into the /opt/keycloak subdirectory of your Keycloak installation. For example, you can add this snippet in a Dockerfile Configuration Make sure that you have correctly configured an attribute for your users which can be used as an identifier alternative. Switch to your realm in the keycloak administration console. Switch to the \"Authentication\" configuration and copy the original browser flow, giving the copy it a reasonable name, maybe \"Browser with Attribute\". Then replace the \"Username Password Form\" execution by the new \"Attribute Username Password Form\" execution. Configure this new step with your attribute name and choose a regex which can restrict calls and avoid expensives searches by attribute. Having done so you have to select your copy of the browser in the bindings tab for the browser flow. Keycloak Reset Credential Attribute Like the Keycloak Login Attribute SPI, AttributeChooseUser adds the possibility for Keycloak to reset credentials via a user attribute. Configuration Make sure that you have correctly conf","default_branch":null,"files":null,"tree":[],"storefront":"/r/cnieg","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cnieg/keycloak-login-attribute/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}