# Setting /auth context root for 15.0.2 keycloak

**URL:** <https://forum.keycloak.org/t/setting-auth-context-root-for-15-0-2-keycloak/24029>\
**Category:** Configuring the server\
**Created:** [January 11, 2024, 5:53am UTC](https://forum.keycloak.org/t/setting-auth-context-root-for-15-0-2-keycloak/24029 "2024-01-11T05:53:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divyasri](https://avatars.discourse-cdn.com/v4/letter/d/ecc23a/32.png) [@Divyasri](https://forum.keycloak.org/u/Divyasri)\
**Post date:** [January 11, 2024, 5:53am UTC](https://forum.keycloak.org/t/setting-auth-context-root-for-15-0-2-keycloak/24029/1 "2024-01-11T05:53:49Z")

</div>

We are using keycloak 15.0.2 version. We are now authenticating using the URL: [https://server-name/realms/star-realm/protocol/openid-connect](https://server-name/realms/star-realm/protocol/openid-connect)

We need to add the “/auth” context root to the Authentication URL i.e., [https://server-name/auth/realms/star-realm/protocol/openid-connect](https://server-name/auth/realms/star-realm/protocol/openid-connect)

Tried by setting “–http-relative-path=/auth” but its not working. Could anyone please help on how I can set “/auth” to the authentication url…

---

<div class="post-metadata">

**Author:** ![dasniko](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/dasniko/32/2969_2.png) [@dasniko](https://forum.keycloak.org/u/dasniko)\
**Post date:** [January 11, 2024, 11:45am UTC](https://forum.keycloak.org/t/setting-auth-context-root-for-15-0-2-keycloak/24029/2 "2024-01-11T11:45:06Z")

</div>

With v15, `/auth` context was default, you could have only configured it to _not_ being used. So, the question is, _what_ did you (or someone in your environment) do, to have Keycloak run on `/`?  
Once you know this, you can just revert it.

On the other hand side, you are running a more than old (\> 2,5 years) version of Keycloak which is outdated, has some security vulnerabilities and does not receive any more updates. You really should update your environment be become secure again!

The `http-relative-path` flag is for Quarkus based distributions only, they started with v17.
