Skip to content

Commit

Permalink
Ensure select_account forces "workplace" prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
tr33m4n committed Jan 4, 2023
1 parent e842abe commit 02230aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Model/Client/ConfigureScopeConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function execute(Client $client) : Client
{
$client->setAccessType('offline');
$client->setApprovalPrompt('force');
$client->setPrompt('select_account');
$client->addScope(Gmail::GMAIL_COMPOSE);
$client->addScope(Gmail::GMAIL_SEND);
$client->addScope(Gmail::GMAIL_READONLY);
Expand Down

0 comments on commit 02230aa

Please sign in to comment.