Description
When generating kubeconfig for oidc,
kyma alpha kubeconfig generate --oidc-name
Before producing a kubeconfig with interactive login, check if the issuer is supporting it.
We could inspect the ${ISSUER_URL}.well-known/openid-configuration endpoint to check if the authorization_endpoint is present in the response. If, not, return with error, as such issuer is headless-only, suitable for ci/cd pipelines only and interactive login via browser is not possible.
Reasons
With CLI user should be able to avoid misconfigurations