谷歌硬盘api认证不适用于iPhone上的Chrome浏览器
下面的代码在台式机、笔记本电脑、任何浏览器或操作系统上都非常有效。它甚至可以在iPhone上的Safari中正常工作,但在iPhone上的Google Chrome上却不行。当按下“我的”按钮时,会打开一个新窗口,其中有一个空白页,上面写着“请关闭窗口”。空白页指向https://accounts.google.com/o/oauth2/auth 使用一组查询字符串。为什么Chrome在iPhone上会这样谷歌硬盘api认证不适用于iPhone上的Chrome浏览器,iphone,google-chrome,google-api,google-oauth,google-api-client,Iphone,Google Chrome,Google Api,Google Oauth,Google Api Client,下面的代码在台式机、笔记本电脑、任何浏览器或操作系统上都非常有效。它甚至可以在iPhone上的Safari中正常工作,但在iPhone上的Google Chrome上却不行。当按下“我的”按钮时,会打开一个新窗口,其中有一个空白页,上面写着“请关闭窗口”。空白页指向https://accounts.google.com/o/oauth2/auth 使用一组查询字符串。为什么Chrome在iPhone上会这样 window.gapi.auth.authorize(
window.gapi.auth.authorize(
{
'client_id': clientId,
'scope': scope,
'immediate': false
},
handleAuthResult);
function handleAuthResult(authResult) {
gapi.load('picker', { 'callback': createPicker });
}