The domain to the k8s cluster and dex and the domain to the kubectl user and dex may be different.
For example: If you access dex from kubectl, use dex.example.com; if you access dex from a k8s cluster, use dex-internal.example.com.
To cope with this situation, gooidc's IssuerURLOverride option is available.
The domain to the k8s cluster and dex and the domain to the kubectl user and dex may be different. For example: If you access dex from kubectl, use dex.example.com; if you access dex from a k8s cluster, use dex-internal.example.com.
To cope with this situation, gooidc's
IssuerURLOverride
option is available.