-
Starting from version 2024.8.0: the
Default User Password Login Pagehas the registration link disabled. -
Starting from version 2024.9.0: the
Default Select IDP Pagehas the registration link disabled.
Step 1: Configure Self-Registration in the Admin Portal
-
Log in to the Admin Portal.
-
Navigate to Authentication Management > General.
-
Use the toggle to enable or disable user self-registration:
-
Enabled: Allows users to self-register via the API endpoint.
-
Disabled: Prevents users from self-registering.
-
This setting is disabled by default in new tenants.
Step 2: Update Templates
If you need to customize templates for user registration, follow these steps:
-
In the Admin Portal, navigate to Settings > Edit Templates.
-
Select the template you want to edit.
Default templates applicable to user registration are theseDefault User Password Login PageandDefault Select IDP Page.-
The default templates cannot be modified directly. To make changes, you should:
-
Clone the default template to create a custom template.
-
Modify the custom template as needed.
-
-
Custom Templates:
If custom templates are already in use, make sure they are associated with these actions:-
DEFAULT_USER_PASSWORD_LOGIN_PAGE -
DEFAULT_SELECT_IDP_PAGE
-
-
Step 3: Configure Web Components
If you are using the provided web components, you can configure them as follows.
Login Component
The <tb-login> component includes a register-hidden attribute to control the registration link:
-
Default:
register-hidden="true"(registration link is hidden).HTML<tb-login inputref="/admin" idpcode="<%idpCode%>" relaystate="<%relayState%>" code="<%code%>" captcha-site-key="<%captchaSiteKey%>" use-captcha="<%captchaShow%>" register-hidden="true" ></tb-login>
Authentication Method Selection Component
The <tb-idp-select> component includes a sign-up-hidden attribute to control the sign-up link:
-
Default:
sign-up-hidden="true"(sign-up link is hidden).<tb-idp-select code="<%code%>" comparison="<%comparison%>" relaystate="<%relaystate%>" authnmethod="<%authnmethod%>" captcha-site-key="<%captchaSiteKey%>" use-captcha="<%captchaShow%>" sign-up-hidden="true" ></tb-idp-select>