当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - Google+ Sign-in callback firing multiple times and requires multiple clicks for login

问题描述:

I've implemented a G+ login into an upcoming web-app and have several issues with the login procedure. When clicking the Sign-in button, the callback is fired, the user is logged in, but then after a second or two, the callback is fired again (3-4 times in a row!) and the user is logged right back out. Yet, if I click the Sign-in button multiple times, quickly, the user remains logged in, after 2-3 attempts.

On top of that, when signing out, the callback seems to get fired twice as well for no apparent reason at all.

I am logging both the return values of login and logout (authResult) and there is absolutely no difference what so ever in their values (no different status method or anything).

I have tried using different login methods (HTML button, JS button render) but to no avail (same issues).

The website in question is: composer.syntax-design.at

分享给朋友:
您可能感兴趣的文章:
随机阅读: