Keycloak supports OpenID Connect Discovery which enables automatic client configuration, like the auth endpoint, token endpoint, userinfo endpoint, JWKS endpoint etc.
Keycloak exposes the openid connect discovery document at
$AUTH_SERVER_URL/auth/realms/$realm/.well-known/openid-configuration
or $ISSUER/.well-known/openid-configuration where issuer is $AUTH_SERVER_URL/auth/realms/$realm.
Keycloak supports OpenID Connect Discovery which enables automatic client configuration, like the auth endpoint, token endpoint, userinfo endpoint, JWKS endpoint etc.
Keycloak exposes the openid connect discovery document at
$AUTH_SERVER_URL/auth/realms/$realm/.well-known/openid-configuration
or$ISSUER/.well-known/openid-configuration
where issuer is$AUTH_SERVER_URL/auth/realms/$realm
.Here is an example discovery document.
It would be great if this would be supoported. Other oauth/oidc capable libraries like authlib support this feature too (example).