pub fn resolve_startup_auth_source<F>( load_oauth_config: F, ) -> Result<AuthSource, ApiError>where F: FnOnce() -> Result<Option<OAuthConfig>, ApiError>,