pub struct ExternalLoginUpdate {Show 14 fields
pub config: Value,
pub create_new_person: bool,
pub has_registration: bool,
pub is_visible: Option<bool>,
pub matching_mode: Option<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: Option<bool>,
pub subtitle: Option<Option<String>>,
pub type: String,
pub update_data_on_login: bool,
pub extra: Map<String, Value>,
}Expand description
Updates provider settings. The protocol in type must match the existing provider.
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: Option<bool>Whether this provider is listed among available SSO login choices. Hiding it is not the same as deleting its configuration or mappings.
matching_mode: Option<String>Determines 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: Option<bool>Marks 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<Option<String>>Secondary text on the login choice.
None leaves the field out, Some(None) sends null.
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.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.