# Where are the authServerUrl and authUrl stored (locally)?

**URL:** <https://forum.keycloak.org/t/where-are-the-authserverurl-and-authurl-stored-locally/18475>\
**Category:** Configuring the server\
**Tags:** admin-console\
**Created:** [November 17, 2022, 11:24am UTC](https://forum.keycloak.org/t/where-are-the-authserverurl-and-authurl-stored-locally/18475 "2022-11-17T11:24:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![keycloakUser77](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@keycloakUser77](https://forum.keycloak.org/u/keycloakUser77)\
**Post date:** [November 17, 2022, 11:24am UTC](https://forum.keycloak.org/t/where-are-the-authserverurl-and-authurl-stored-locally/18475/1 "2022-11-17T11:24:41Z")

</div>

Hello, I have set up Keycloak locally successfully (localhost). However, since I was using ngrok I changed “authServerUrl” and “authUrl” in the Admin console (realm settings) to the ngrok URL. The ngrok URL has now changed and I cannot access the Keycloak admin console because it’s trying the open the old ngrok URL for the Admin page.

Is there a folder, xml or json file where I can adjust the “authServerUrl” and “authUrl” for Keycloak locally to regain access to the Admin console?

---

<div class="post-metadata">

**Author:** ![keycloakUser77](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@keycloakUser77](https://forum.keycloak.org/u/keycloakUser77)\
**Post date:** [November 17, 2022, 1:13pm UTC](https://forum.keycloak.org/t/where-are-the-authserverurl-and-authurl-stored-locally/18475/2 "2022-11-17T13:13:23Z")

</div>

I was able to edit/correct the “authServerUrl” and “authUrl” via CLI. In case anyone comes across the same here is the command:

```auto
./kcadm.sh update realms/master -s attributes.frontendUrl=http://localhost:8080/auth

```
