# Is it possible to customize Keycloak URLs?

**URL:** https://forum.keycloak.org/t/is-it-possible-to-customize-keycloak-urls/27706
**Category:** Getting advice
**Created:** [September 2, 2024, 4:18pm UTC](https://forum.keycloak.org/t/is-it-possible-to-customize-keycloak-urls/27706 "2024-09-02T16:18:46Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![chungech](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@chungech](https://forum.keycloak.org/u/chungech)
#### Post date: [September 2, 2024, 4:18pm UTC](https://forum.keycloak.org/t/is-it-possible-to-customize-keycloak-urls/27706/1 "2024-09-02T16:18:46Z")

</div>

Hello everyone,

I’m currently using Keycloak for authentication in my project, and I would like to know if it’s possible to customize the URLs generated by Keycloak. Specifically, I want to replace the default URL structure:

`/auth/realms/realm1/protocol/openid-connect/auth` and `login-actions`

with a more user-friendly URL like:

`/login`

Is there a way to achieve this within Keycloak? If so, could you please provide guidance or point me to the right documentation? Any help would be greatly appreciated!

Thank you in advance!

---

<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: [September 2, 2024, 4:20pm UTC](https://forum.keycloak.org/t/is-it-possible-to-customize-keycloak-urls/27706/2 "2024-09-02T16:20:45Z")

</div>

It’s been suggested and tried before. AFAIK it’s never worked. The core problem is not that you can’t, for example, use a reverse proxy to rewrite “friendlier” URLs, but that Keycloak itself provides URLs in many contexts that you would also have to rewrite in request responses to make everything work in harmony.
