How to get OIDC provider (keycloak)configuration with the endpoint details?

3/14/2020

I'm trying to setup cloak with istio on k8s cluster and I'm following this link. However, I'm new to the OIDC authentication. I have setup keycloak on k8s cluster and I'm trying to fill in the values in the template here.

This requires values like the authorization_uri, token_uri, callback uri etc to be substituted. Can anyone please let me know how and from where can these endpoint values be fetched and replaced? Any help would be appreciated!

-- Meghana B Srinath
authentication
istio
keycloak
kubernetes
openid-connect

1 Answer

3/15/2020

Keycloak offers standard OpenID Connect Discovery endpoint, e.g.:

https://<keycloak-domain.com>/auth/realms/<realm>/.well-known/openid-configuration

You can get all required details from this endpoint.

-- Jan Garaj
Source: StackOverflow