Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
Gigadrive
qpost
qpost
Commits
16feb83f
Verified
Commit
16feb83f
authored
Aug 24, 2020
by
Mehdi Baaboura
Browse files
Set approval_prompt to force in YouTubeIntegration
parent
bc33ec4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/Service/OAuth/YouTubeIntegration.php
src/Service/OAuth/YouTubeIntegration.php
+1
-0
No files found.
src/Service/OAuth/YouTubeIntegration.php
View file @
16feb83f
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment