Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello i am having application where i can login using google. its working fine for me when i click on login it visited gmail login page where i can put gmail id and password it ask for drive permission then it redirect back to my application, after completing my work i logout from application, after some time if i click on login application not visited gmail page directly get login with previous detail. If i put this line
$client->setApprovalPrompt('force');
application ask mi to select email id and again drive allow window is their. but i want application to ask permission each and every time to select gmail id and not for google drive even if their is only one account login on gmail

What I have tried:

$client->setApprovalPrompt('force');
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900