pub fn normalize_flow_token(value: &str, max_len: usize) -> Result<String>
Normalizes an external-auth flow token supplied by a client.