Docs
Live demo
GET/api/v2/applications/{id}/sign-in

List the sign-in clients (Dex OAuth clients) of an application, their sources, Dex connectors, SSO gate options and capability flags. Who may sign in is set by the rules of the application.

Parameters

Path1 required of 1
idstring · uuidpathrequired

Application ID (UUID), the id of its target

Responses

200

OK

ApplicationSignInResponse · 6 fields
application_idstring · uuidrequired
oauth_appsarray of ApplicationOAuthAppResponserequired
18 fields
idstringrequired
namestringrequired
issuer_urlstring

Public Dex OIDC issuer for configuring the application.

redirect_urisarray of stringrequired
publicbooleanrequired

Whether the Dex client is public and therefore has no client secret.

native_oidc_enabledboolean

Effective native OIDC mode, including native-only bindings created by older backend versions. May be true together with auth_gate_enabled.

auth_gate_enabledboolean

Persisted Application auth mode. Null means a legacy binding whose mode is not explicit.

can be null
connector_idsarray of stringrequired
connector_groupsmap of string → array of string
principal_group_claims_modestring

Principal group memberships exposed to this OAuth client. Present for Principal-managed bindings.

all_membershipsaccess_groups
include_nested_groupsboolean

Whether ancestor group memberships grant access and appear in the groups claim. Present for Principal-managed bindings.

require_emailboolean

Whether the Principal connector refuses the sign-in of a user without an email address. Present for Principal-managed bindings.

source_idstringrequired
ownership_statestringrequired
read_only_reasonstring
users_without_groups_claimarray of string · uuidrequired

IDs of the direct users this client signs in with an empty groups claim. Set for Principal-managed native OIDC clients in the access_groups mode when none of the user's groups has access to the application. Empty for other clients.

missing_from_dexbooleanrequired

The client is managed by Principal but no longer exists in Dex. Principal can only delete it, which also removes its SSO gate. Create a new client afterwards.

any_gitlab_user_can_sign_inbooleanrequired

The client signs people in through GitLab and neither the client nor that GitLab sign-in method of Dex names a GitLab group, so any GitLab user can sign in to the application. The same rule refuses to create or change such a client. This flag shows clients that already exist, for example after an operator removed the groups of the sign-in method in the installation settings.

access_sourcesarray of ApplicationAccessSourceResponserequired
5 fields
idstringrequired
typestringrequired
namestringrequired
writablebooleanrequired
read_only_reasonstring
5 fields
ingress_writablebooleanrequired
dex_readablebooleanrequired
dex_writablebooleanrequired
read_only_reasonstring
read_only_reason_codestring (ApplicationAccessReadOnlyReasonCode)

Why Principal can't change the Dex clients of this application. Picks the next step. applications_not_managed: the target's SSO applications aren't managed in this Principal's Dex (the target setting applications_on_bundled_dex turns it on), whatever kubectl signs in through. dex_management_missing: this Principal has no Dex management set up. dex_outdated: the Dex of the cluster answers but serves a management API older than 1000, so Principal neither reads nor writes the allowed groups of its clients until Dex is updated.

applications_not_manageddex_management_missingdex_management_offdex_unavailabledex_outdateddex_changes_off
dex_connectorsarray of ApplicationDexConnectorResponserequired
4 fields
idstringrequired
typestringrequired
namestring
groupsarray of stringrequired
auth_gate_optionsApplicationAuthGateOptionsResponserequired
8 fields
5 fields
keep_users_logged_in_forstringrequired
send_authorization_headerbooleanrequired
send_groups_headerbooleanrequired

Controls whether the SSO gate forwards X-Auth-Request-Groups to the application. Defaults to true.

ingress_class_namestring

Present only while a Principal-managed SSO gate is deployed for the application. An empty tls.source or ingress_class_name means the gate Ingress is missing or foreign (unknown). Edit forms fall back to defaults for those fields.

5 fields
keep_users_logged_in_forstringrequired
send_authorization_headerbooleanrequired
send_groups_headerbooleanrequired
ingress_class_namestring

Whether the application Ingress is behind its SSO gate on the target cluster right now, observed from the Ingress and the gate admission webhook. Only protected means requests pass through the gate. The UI shows the gate as active only in that state.

2 fields
statestringrequired
protectedunprotectedunknown
reasonstring

Why the Ingress is not protected or why protection could not be observed. Empty for protected.

ingress_classesarray of ApplicationAuthGateIngressClassOptionResponserequired
2 fields
namestringrequired
is_defaultbooleanrequired
tls_secretsarray of ApplicationAuthGateTLSSecretOptionResponserequired
1 field
namestringrequired
1 field
namestringrequired
1 field
namestringrequired
trusted_networksarray of ApplicationAuthGateTrustedNetworkResponserequired

Network lists of the organization that the SSO gate can let in without sign-in, with the lists this application's gate selected.

5 fields
idstring · uuidrequired
namestringrequired
addressesarray of stringrequired
selectedbooleanrequired

The application's SSO gate lets requests from these addresses in without sign-in.

uses_old_addressesbooleanrequired

The list changed after the gate last applied it. The cluster still has the earlier addresses until the application access is saved again.

403

Principal access denied, or upstream.authorization_failed when upstream credentials lack permissions

502

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 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close