Verified Commit 16feb83f authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Set approval_prompt to force in YouTubeIntegration

parent bc33ec4a
......@@ -53,6 +53,7 @@ class YouTubeIntegration extends ThirdPartyIntegration {
$client->setClientSecret($this->getClientSecret());
$client->setRedirectUri($this->getRedirectURL());
$client->setAccessType("offline");
$client->setApprovalPrompt("force");
foreach ($this->getScopes() as $scope) {
$client->addScope($scope);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment