Skip to content

Custom login and registration page

Some enterprises lack a unified authentication system, yet have many internal users; gathering account credentials is costly, so they want to let people access the system through a custom login/registration flow. You can use the component designer to build pages that include both login and registration, then replace the system’s default login page.

rendering / mock-up / visual

Component Settings

Create a Component Designer module and set its access URL as the login URL in the admin console’s “Login URL” field; this will replace the system’s default login page.

Automation Settings

In the login/registration component script we invoke two automations—login and reg—through the Zhixin Web Runtime. Both automations handle their business logic with pure code snippets. The source code is below.

TIP

Since the component uses the informat Web Runtime,” which is invoked via HTTP, the automations must have the “Allow automation to be called via HTTP” option enabled.