POST/api/v2/targets/{id}/dex-discovery
targets:manageAPI token
Probe a stored Kubernetes target for DexProvider CRDs and Dex ingress to auto-discover OIDC provider candidates and issuer URL.
Parameters
Path1 required of 1
idstringpathrequired
Target ID (UUID)
Responses
200
OK
DexDiscoveryResult · 8 fields
auto_filled selection_required failedskippedprovidersarray of DexDiscoveredProvider
3 fields
namestringrequired
typestringrequired
oidc_issuer_urlstring
issuer_urlstring
suggested_client_idstring
selected_provider_namestring
selected_provider_typestring
failure_reasonstring (DexDiscoveryFailureReason)
no_crd no_providers permission_denied issuer_not_found discovery_error failure_messagestring
422
target.connection_missing: the saved kubeconfig of the target is missing from the secret store. resolution.code is target.edit_connection: enter the connection again.
Common errors: 400 401 403 404 409 429 503 504. They mean the same for every operation, see Errors.