normalize_allowed_domains

Function normalize_allowed_domains 

Source
pub fn normalize_allowed_domains(
    value: Option<Vec<String>>,
) -> Result<Option<String>>
Expand description

Normalizes an allow-list of email domains into a stable JSON string.

ยงErrors

Returns ExternalAuthError when the provider input violates its format, length, or protocol contract.