fn bound_oauth_config_dir( mstore: &Store, id_store: &Arc<Store>, identity_store: &Arc<Store>, instance: &AgentInstance, ) -> Option<PathBuf>