Google加登录号"immediate_failed"错误 [英] Google plus signin "immediate_failed" error

查看:242
本文介绍了Google加登录号"immediate_failed"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Javascript SDK在我的网站中实现了Google Plus登录.当我第一次单击按钮(Goolge Plus登录)时,它显示错误"immediate_failed".但是,当我第二次单击该按钮时,它可以正常工作. "immediate:false或true"不起作用? 我该如何解决这个问题?

I have implemented login with Google Plus in my website using Javascript SDK. when i click on button (Goolge Plus Signin) first time, it display Error "immediate_failed". but when i click second time on that button it works fine. "immediate:false or true" is not working? how can i solve this issue?

推荐答案

假设您已实现此处描述的客户端流程:

assuming you have implemented the client side flow described here: https://developers.google.com/+/web/signin/?hl=en#using_the_client-side_flow and it sounds that you are calling the signin callback before rendering the button itself, but for further debug I'd need to see your code.

这篇关于Google加登录号"immediate_failed"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆