pub struct ExternalLogin {Show 16 fields
pub config: Value,
pub create_new_person: bool,
pub has_registration: bool,
pub is_visible: bool,
pub matching_mode: String,
pub name: String,
pub new_person_campus_id: Option<i64>,
pub new_person_department_id: Option<i64>,
pub new_person_status_id: Option<i64>,
pub primary_login: bool,
pub subtitle: Option<String>,
pub type: String,
pub update_data_on_login: bool,
pub id: i64,
pub logo_url: Option<String>,
pub extra: Map<String, Value>,
}Expand description
Sanitized provider configuration returned to settings administrators. OAuth/OIDC client secrets and SAML SP private keys are not included.
Fields§
§config: Value§create_new_person: boolWhether the login flow may create a ChurchTools person when no local identity mapping exists. The matching mode controls whether this happens automatically or requires an explicit choice.
has_registration: boolWhether the external provider offers a registration flow; support depends on the protocol handler.
is_visible: boolWhether this provider is listed among available SSO login choices. Hiding it is not the same as deleting its configuration or mappings.
matching_mode: StringDetermines how an authenticated external identity without an existing person mapping is handled. Auto-match mode uses automatic name-and-email matching and optional person creation. Verified mode asks the user to either prove ownership of a local account or, when createNewPerson is enabled, explicitly create a person. Pre-provisioned mode rejects identities without a mapping.
Allowed values: auto_match, preprovisioned_only, verified_user_linking.
name: StringDisplay name shown for this provider.
new_person_campus_id: Option<i64>Default campus ID for newly created people. A numeric ID is required when createNewPerson is true; explicit null is required otherwise.
new_person_department_id: Option<i64>Default department ID for newly created people. A numeric ID is required when createNewPerson is true; explicit null is required otherwise.
new_person_status_id: Option<i64>Default person status ID for newly created people. A numeric ID is required when createNewPerson is true; explicit null is required otherwise.
primary_login: boolMarks the preferred external login. At most one provider may have this flag; choosing a second primary provider is rejected rather than automatically demoting the first.
subtitle: Option<String>Secondary text on the login choice.
type: StringConfigured login protocol.
Allowed values: oauth, oidc, saml.
update_data_on_login: boolWhether existing person data is updated from provider data after successful matching.
id: i64Provider configuration ID used in management and protocol URLs.
logo_url: Option<String>Resolved provider logo URL, or null if unavailable.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.