从Google登录时,请求权限选择gmail ID [英] Ask permission to select gmail id while login from Google
问题描述
您好我有申请,我可以使用谷歌登录。它工作正常,当我点击登录它访问了gmail登录页面,我可以把gmail id和密码请求驱动器权限然后它重定向回我的应用程序,完成我的工作后我从应用程序注销,一段时间后如果我点击登录应用程序未访问gmail页面直接登录以前的详细信息。如果我把这行
$ client-> setApprovalPrompt('force');
应用程序要求mi选择电子邮件ID并再次驱动允许窗口是他们的。但我希望应用程序每次都要求权限选择gmail id而不是google驱动器,即使他们只有一个帐户登录gmail
我尝试过:
$ client-> setApprovalPrompt('force');
client-> setApprovalPrompt('force');应用程序要求mi选择电子邮件ID并再次驱动允许窗口是他们的。但我希望应用程序每次都要求权限选择gmail id而不是google驱动器,即使他们只有一个帐户登录gmail
我的尝试:
client- > setApprovalPrompt( '力');
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');
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');
这篇关于从Google登录时,请求权限选择gmail ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!