fn start_code_flow( cfg: ServiceOAuthConfig, client_id: String, client_secret: Option<String>, name: String, wstore: Arc<Store>, ) -> Result<(String, OAuthStatus), String>