'client_id'=>\Config::get()->OWNCLOUD_CLIENT_ID?:\UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_CLIENT_ID,// The client ID assigned to you by the provider
'client_secret'=>\Config::get()->OWNCLOUD_CLIENT_SECRET?:\UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_CLIENT_SECRET,// The client password assigned to you by the provider
/*$provider = new \League\OAuth2\Client\Provider\GenericProvider([
'clientId' => Config::get()->OWNCLOUD_CLIENT_ID ?: UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_CLIENT_ID, // The client ID assigned to you by the provider
'clientSecret' => Config::get()->OWNCLOUD_CLIENT_SECRET ?: UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_CLIENT_SECRET, // The client password assigned to you by the provider
'client_id'=>\Config::get()->OWNCLOUD_CLIENT_ID?:\UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_CLIENT_ID,// The client ID assigned to you by the provider
'client_secret'=>\Config::get()->OWNCLOUD_CLIENT_SECRET?:\UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_CLIENT_SECRET,// The client password assigned to you by the provider