# Keycloak with external login page

**URL:** <https://forum.keycloak.org/t/keycloak-with-external-login-page/3212>\
**Category:** Getting advice\
**Created:** [June 8, 2020, 8:06pm UTC](https://forum.keycloak.org/t/keycloak-with-external-login-page/3212 "2020-06-08T20:06:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NetToaster](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/nettoaster/32/997_2.png) [@NetToaster](https://forum.keycloak.org/u/NetToaster)\
**Post date:** [June 8, 2020, 8:06pm UTC](https://forum.keycloak.org/t/keycloak-with-external-login-page/3212/1 "2020-06-08T20:06:31Z")

</div>

Hi, I wanna integrate the login page into my SPA. Is there any option to use external login pages and communicate with keycloak with some kind of API ? Or I am stuck with customizing page served by keycloak ?

---

<div class="post-metadata">

**Author:** ![jangaraj](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/jangaraj/32/5175_2.png) [@jangaraj](https://forum.keycloak.org/u/jangaraj)\
**Post date:** [June 9, 2020, 12:24pm UTC](https://forum.keycloak.org/t/keycloak-with-external-login-page/3212/2 "2020-06-09T12:24:39Z")

</div>

Check how `Resource Owner Password Credentials Grant` works. Of course you will use single sign on feature with this OIDC flow.
