pub struct ExternalLoginOidcConfig {
pub allowed_connections: Option<Vec<String>>,
pub callback_url_version: Option<i64>,
pub client_id: String,
pub client_secret: Option<String>,
pub installation_id: Option<String>,
pub issuer: String,
pub min_acr: Option<String>,
pub scope: Option<String>,
pub extra: Map<String, Value>,
}Expand description
OpenID Connect provider configuration.
Fields§
§allowed_connections: Option<Vec<String>>Optional allowlist for the ct_connection claim. When configured, an ID token without an allowed connection is rejected.
callback_url_version: Option<i64>deprecated in the ChurchTools API
Retained for stored-data and API compatibility. Callback routing no longer depends on this value.
Allowed values: 2.
client_id: String§client_secret: Option<String>OpenID Connect client secret.
installation_id: Option<String>Optional installation identifier that must be present in the ct_entitlements claim.
issuer: StringExact HTTPS issuer used for discovery and token validation. User info, query strings and fragments are rejected; a path and explicit port are allowed.
min_acr: Option<String>Optional minimum acr. Numeric values are ordered numerically; non-numeric values require an exact match.
scope: Option<String>Space-separated scopes. Missing, null or empty values use openid profile email. The openid scope is always included. Claim policies do not automatically add scopes.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.