pub(crate) async fn run_connect( url: &str, token: &str, provider_id: Option<String>, ) -> Result<()>