Skip to content
Snippets Groups Projects
Commit b45255d7 authored by Carlos Diaz's avatar Carlos Diaz Committed by Sadashiv Dalvi
Browse files

Issue #3219668: Set prompt consent to get the refresh token in the response

parent 4aaf2f8a
No related branches found
No related tags found
1 merge request!6Issue #3219668: Set prompt consent to get the refresh token in the response
......@@ -152,6 +152,7 @@ class GoogleApiClientService {
if ($google_api_client->getAccessType()) {
$client->setAccessType('offline');
$client->setApprovalPrompt('force');
$client->setPrompt('consent');
}
$client->setClientSecret($google_api_client->getClientSecret());
$client->setDeveloperKey($google_api_client->getDeveloperKey());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment