Issues with OIDC provider

Hello everyone,

I am working on integrating our application with an external system. We are using OIDC, but despite configuring it according to the guidelines in this post:

https://forum.cortezaproject.org/t/authenticate-keycloak/2654/6

I have been unable to get the provider’s button to appear on the authentication form.

Is there any way to debug what is happening?

If I enable SAML, the authentication button for that provider is displayed correctly, so users can authenticate through that method. However, the OIDC provider does not appear at all.

Any guidance would be appreciated. Thank you.

Looks like Corteza can’t reach your Keycloak. On startup, the server fetches <issuer>/.well-known/openid-configuration, and if that call fails, the provider is quietly skipped.

Check your startup log for a line containing failed to discover OIDC provider.
Then try curl -v <issuer>/.well-known/openid-configuration from inside the Corteza container; it’s usually a network or certificate issue between the two.

Also double-check the issuer is https://<keycloak>/realms/<realm> (older Keycloak versions need /auth/realms/<realm>).