{"repo":"moeakwak/keycloak-registration-with-invite-code","free":true,"listed":false,"github":"https://github.com/moeakwak/keycloak-registration-with-invite-code","clone":"git clone https://github.com/moeakwak/keycloak-registration-with-invite-code.git","description":"A Keycloak SPI that enables user registration using a predefined invitation code. Also an example of Keycloak FormAction SPI","language":"FreeMarker","stars":21,"topics":["keycloak","keycloak-extension","keycloak-spi","keycloak-theme"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Keycloak Registration with Invitation Code This SPI (Service Provider Interface) implementation for Keycloak enables user registration with a predefined invitation code. It adds an extra registration control by allowing only users with a valid invite code, set by an administrator, to create an account . This implementation offers a simple way to restrict user registration to invite-only access. It can also serve as an example of creating a FormAction SPI with additional form fields defined in a custom theme. Compatibility This implementation has been tested and confirmed to work with Keycloak 26.6.2. The SPI still uses Keycloak's form-action SPI. Keycloak reports this as an internal SPI at startup, so future Keycloak upgrades should be verified by rebuilding the provider and testing the registration flow again. Installation and Setup To incorporate this feature into your Keycloak instance, follow the steps outlined below. Installation - Get the JAR file by downloading it or building it from source. Copy this file into the providers directory of your Keycloak installation. - Execute bin/kc.[sh bat] build to integrate the SPI into your Keycloak environment. For Keycloak running in Docker, copy the JAR file to /opt/keycloak/providers and run docker exec /opt/keycloak/bin/kc.sh build && docker restart . Configuration - Restart your Keycloak server. After restart, navigate to the Provider Info tab within the master realm's info page. You should find invite-code-validation listed u","default_branch":null,"files":null,"tree":[],"storefront":"/r/moeakwak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/moeakwak/keycloak-registration-with-invite-code/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."}