# OpenID Endpoint Configuration wrong urls after updating

**URL:** <https://forum.keycloak.org/t/openid-endpoint-configuration-wrong-urls-after-updating/26811>\
**Category:** Configuring the server\
**Tags:** admin-console, authentication, oidc\
**Created:** [July 4, 2024, 12:39pm UTC](https://forum.keycloak.org/t/openid-endpoint-configuration-wrong-urls-after-updating/26811 "2024-07-04T12:39:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MnemoDes](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@MnemoDes](https://forum.keycloak.org/u/MnemoDes)\
**Post date:** [July 4, 2024, 12:39pm UTC](https://forum.keycloak.org/t/openid-endpoint-configuration-wrong-urls-after-updating/26811/1 "2024-07-04T12:39:11Z")

</div>

Due to some problems we’ve just encountered when trying to authenticate users in external services (Nextcloud) via Keycloak, we have just discovered something that might by related to the bug with the admin hostnames related to update v25.

When accesing to {admin\_url}/realms/{realmName}/.well-known/openid-configuration, the following attributes changed it’s url after the uptate:

- token\_endpoint
- introspection\_endpoint
- userinfo\_endpoint
- jwks\_uri
- registration\_ednpoint
- backchannel\_autentication\_endpoint
- pushed\_authorization\_request\_endpoint

Before the update, their urls started with the hostname-admin (previously hostname-admin-url) configured in keycloak.config, but now, they start with the hostname label. Example:

- Before update → token\_endpoint: [https://admin-url.es:443/realms/EXAMPLE/protocol/openid-connect/token](https://admin-url.es:443/realms/EXAMPLE/protocol/openid-connect/token)
- After update → token\_endpoint: [https://url.es:443/realms/EXAMPLE/protocol/openid-connect/token](https://url.es:443/realms/EXAMPLE/protocol/openid-connect/token)

This same behaviour can be noticed on the login well-known openid-configuration.

We moved from version 24.0.5 to 25.0.1.

Thanks in advance.

---

<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:** [July 4, 2024, 3:28pm UTC](https://forum.keycloak.org/t/openid-endpoint-configuration-wrong-urls-after-updating/26811/2 "2024-07-04T15:28:58Z")

</div>

Configuring the `hostname` properly according to the new guide should solve your issue.

> **[Configuring the hostname (v2) - Keycloak](https://www.keycloak.org/server/hostname)**
>
> Keycloak is an open source identity and access management solution

---

<div class="post-metadata">

**Author:** ![MnemoDes](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@MnemoDes](https://forum.keycloak.org/u/MnemoDes)\
**Post date:** [July 5, 2024, 5:27am UTC](https://forum.keycloak.org/t/openid-endpoint-configuration-wrong-urls-after-updating/26811/3 "2024-07-05T05:27:57Z")

</div>

Hello dasniko,

Thanks for your response, but we actually have configured right the hostnames on the keycloak config.

We openend this post ([Hostnames not working correctly after upgrading to v25 - #5 by MnemoDes](https://forum.keycloak.org/t/hostnames-not-working-correctly-after-upgrading-to-v25/26549/5)) in the forum, and with the same config that we specified in there, our application started to work properly after updating to v.25.0.1, but just now we noticed that we can’t login into external services.

Any other suggestion??

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![MnemoDes](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@MnemoDes](https://forum.keycloak.org/u/MnemoDes)\
**Post date:** [July 9, 2024, 6:48am UTC](https://forum.keycloak.org/t/openid-endpoint-configuration-wrong-urls-after-updating/26811/4 "2024-07-09T06:48:57Z")

</div>

Hello dasniko, any news from this issue??

We’re in a hurry to solve it…

Thanks in advance!

---

<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:** [July 9, 2024, 2:33pm UTC](https://forum.keycloak.org/t/openid-endpoint-configuration-wrong-urls-after-updating/26811/5 "2024-07-09T14:33:17Z")

</div>

I don’t have any issues, everything works as designed on my side, so I don’t need to look for “any news”.

I never said that I solve your issue, nor that I will come with more “news”.  
If you are in a hurry, I suggest to not rely on a community forum, but look for some (commercial) consultancy. There are a lot of offerings out there. Yes, I am one of them, but I’m currently fully booked. In 2-3 months, there will be time again.

---

<div class="post-metadata">

**Author:** ![MnemoDes](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@MnemoDes](https://forum.keycloak.org/u/MnemoDes)\
**Post date:** [July 10, 2024, 5:44am UTC](https://forum.keycloak.org/t/openid-endpoint-configuration-wrong-urls-after-updating/26811/7 "2024-07-10T05:44:27Z")

</div>

My apologies dasniko, it was a problem by our side that is now finally solved by changing multiple properties in the config file.

I was not pretending to push you to solve the issue, I only was hopping that you can suggest something that might help.

Thanks for your time!
