Preview Principal-managed Dex OAuth client create, update, adopt, or delete without mutating Dex.
Parameters
Application ID (UUID), the id of its target
Request body application/json · ApplicationDexClientPreviewRequest
Dex OAuth client mutation preview request
createupdateadoptdeleteSet to 1 to enable explicit auth mode and native OIDC setup semantics.
1Selects all Principal memberships or only memberships granting access. Omitted requests preserve the current binding on update and use all_memberships on create.
all_memberships access_groups Grant access through ancestor groups. Omitted requests preserve the current binding on update and stay false on create.
Refuse the sign-in of a user without an email address on the Principal sign-in page. Applies to native OIDC clients that sign in through the Principal connector. The preview blocks it elsewhere. Omitted requests preserve the current binding on update and stay false on create.
Requires contract_version 1. Enables native OIDC alongside the SSO gate on create. With the gate disabled, native mode is required. Omitted updates preserve the binding mode. Changing native mode requires recreating the client because its secret is shown only at create.
SSO gate settings for the Dex client. On update, fields left empty keep the values of the deployed gate (see auth_gate_options.current in the access read model). Only an explicit tls.source "inherit" re-targets the application Ingress secret. On create, empty fields take auth_gate_options.defaults.
8 fields
Toggles the Principal oauth2-proxy gate. With contract_version 1, false selects native OIDC for create or preserves an existing native client. Gate-to-native updates are rejected and require delete/recreate.
Controls application Ingress ownership while the gate is enabled. Omitted or true installs the Principal mutating webhook and converges auth annotations. An explicit false creates and readies the oauth2-proxy gate without changing or selecting the application Ingress, so operator-managed annotations can activate it later.
Controls whether the SSO gate requests the groups scope and forwards X-Auth-Request-Groups to the application. Omitted values default to true.
4 fields
inheritsecretissuercluster_issuer disabledOrganization network lists whose addresses reach the application without sign-in. Omitted keeps the current selection on update and selects none on create. An empty list lets no network in.
Responses
Preview result
ApplicationDexClientMutationPreviewResponse · 11 fields
dex_client 5 fields
2 fields
Stable reason of the blocker. cluster_in_observe means the cluster is in Observe, so Principal doesn't change the SSO gate there until the cluster is managed again.
12 fields
1dex_client createupdateadoptdeleteEffective native OIDC mode, including native-only bindings created by older backend versions. May be true together with auth_gate_enabled.
Resolved auth mode that apply will persist.
17 fields
Effective native OIDC mode, including native-only bindings created by older backend versions. May be true together with auth_gate_enabled.
Persisted auth mode observed for this binding. Null means a legacy binding.
Principal group memberships exposed through Dex claims and downstream auth headers.
all_memberships access_groups Whether ancestor group memberships grant access and appear in the groups claim.
Whether the Principal connector refuses the sign-in of a user without an email address.
17 fields
Effective native OIDC mode, including native-only bindings created by older backend versions. May be true together with auth_gate_enabled.
Persisted auth mode observed for this binding. Null means a legacy binding.
Principal group memberships exposed through Dex claims and downstream auth headers.
all_memberships access_groups Whether ancestor group memberships grant access and appear in the groups claim.
Whether the Principal connector refuses the sign-in of a user without an email address.
17 fields
Effective native OIDC mode, including native-only bindings created by older backend versions. May be true together with auth_gate_enabled.
Persisted auth mode observed for this binding. Null means a legacy binding.
Principal group memberships exposed through Dex claims and downstream auth headers.
all_memberships access_groups Whether ancestor group memberships grant access and appear in the groups claim.
Whether the Principal connector refuses the sign-in of a user without an email address.
Per-application oauth2-proxy SSO gate change planned by a Dex client mutation preview.
18 fields
ensureremoveExisting auth annotations are operator-managed and must be updated in IaC before traffic uses the Principal SSO gate.
Exact NGINX auth annotations for the application Ingress.
Whether the SSO gate requests the groups scope and forwards X-Auth-Request-Groups to the application.
Client addresses and ranges the SSO gate lets in without sign-in, from the selected network lists.
True when the caller can't read the security settings, so the preview leaves out the addresses of the selected trusted networks: source_ranges and the source range annotation of ingress_annotations. Apply still lets the selected networks in.
3 fields
Principal access denied, or upstream.authorization_failed when upstream credentials lack permissions
Conflict
The upstream service rejected its configured credentials (upstream.authentication_failed) or permissions (upstream.authorization_failed), or Principal could not connect to the target or another service the request needs (upstream.connection_failed). The Principal session remains valid.
Common errors: 400 401 404 413 429 503 504. They mean the same for every operation, see Errors.