Show Terms and Condition in Registration Page as mandatory checkbox

I am trying to implement Keycloak’s terms and conditions feature, but it appears only on the next page after registration as it’s their default flow. Is there a way to make it on the registration page as a mandatory checkbox for registration?
Any help is duly appreciated.


1 Like

Terms and conditions in Keycloak is implemented as a RequiredAction, which means it happens after the registration or login. It does technically stop the user from logging in fully, but it cannot currently appear on the registration page and gate the user from registering. If you need that to be the case, you must override the registration forms (see RegistrationUserCreation and RegistrationProfile and the register.ftl template).