# Keycloak nodejs admin API for custom login

**URL:** <https://forum.keycloak.org/t/keycloak-nodejs-admin-api-for-custom-login/12220>\
**Category:** Getting advice\
**Tags:** admin-rest, authentication, oidc\
**Created:** [November 19, 2021, 8:33pm UTC](https://forum.keycloak.org/t/keycloak-nodejs-admin-api-for-custom-login/12220 "2021-11-19T20:33:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditodkar](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/aditodkar/32/4319_2.png) [@aditodkar](https://forum.keycloak.org/u/aditodkar)\
**Post date:** [November 19, 2021, 8:33pm UTC](https://forum.keycloak.org/t/keycloak-nodejs-admin-api-for-custom-login/12220/1 "2021-11-19T20:33:08Z")

</div>

I am struggling with replacing default keycloak login/register page with custom react login/register page. So I was looking into nodejs admin APIs. So I want to know instead of default keycloak login/register if I register/login user via APIs then will there be any loop hole or any special case or precaution I need to take care of while implementing? Will this solve the problem of login/register user via API instead of default keycloak form?

> **[GitHub - keycloak/keycloak-nodejs-admin-client: keycloak-nodejs-admin-client...](https://github.com/keycloak/keycloak-nodejs-admin-client)**
>
> keycloak-nodejs-admin-client repo is moved. Contribute to keycloak/keycloak-nodejs-admin-client development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![xgp](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/xgp/32/2589_2.png) [@xgp](https://forum.keycloak.org/u/xgp)\
**Post date:** [November 23, 2021, 4:00pm UTC](https://forum.keycloak.org/t/keycloak-nodejs-admin-api-for-custom-login/12220/2 "2021-11-23T16:00:17Z")

</div>

The best way (IMO) to build a custom Keycloak login/register UI is with Keycloakify

> **[GitHub - keycloakify/keycloakify: 🔏 Create Keycloak themes using React](https://github.com/keycloakify/keycloakify)**
>
> 🔏 Create Keycloak themes using React. Contribute to keycloakify/keycloakify development by creating an account on GitHub.

They’ve done a lot of the messy/hard stuff for you, and the result deploys as a standard Keycloak theme.
