Google OAuth登录页面的“取消"和“接受"按钮似乎已被禁用 [英] Google OAuth login page 'cancel' and 'accept' buttons appear to be disabled

查看:75
本文介绍了Google OAuth登录页面的“取消"和“接受"按钮似乎已被禁用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用户报告说,当我们通过Google OAuth流程将它们发送给Google Analytics(分析)时,他们在浏览器中遇到了禁用的接受"和取消"按钮.

I have a user reporting that when we send them through the Google OAuth process to connect with Google Analytics, they're encountering disabled 'Accept' and 'Cancel' buttons in their browser.

屏幕截图(在用户许可下)

Screenshot (with permission from the user)

这似乎与此处报告的问题类似(如果不相关):

This appears to be similar (if not related) to the issues reported here:

  • Google OAuth login page 'cancel' and 'accept' buttons are not enabled from Aug 22nd
  • Google OAuth Accept button is disabled

但是,另一位用户在OAuth对话框中注销然后重新登录的建议修复程序显然无效.

However, the proposed fix by another user of logging out, then back in, within the OAuth dialog apparently did not work.

我已请求用户在此期间尝试使用其他浏览器(仍在等待结果),但我想知道是否还有其他人知道可能会发生什么情况或如何解决此问题.

I have requested the user try a different browser in the meantime (still awaiting results), but I'm wondering if anyone else knows what might be up or how to fix this.

附录:客户让它在IE10中运行,因此问题似乎是特定于Chrome(或可能是Webkit)的.我自己无法复制该问题.

Addendum: Customer got it working in IE10, so the issue appears to be Chrome (or possibly webkit) specific. I was unable to replicate the issue myself.

推荐答案

最可能的原因是在用户的Chrome浏览器中禁用了JavaScript.出于某些与安全性相关的原因,Google OAuth 2批准页面需要在浏览器中启用JavaScript.加载页面后,这些按钮将被禁用.它们将在数百毫秒(〜500ms)内被JavaScript启用.

The most likely reason is that the JavaScript is disabled in the user's Chrome browser. for some security-related reason, Google OAuth 2 approval page needs JavaScript enabled on the browser. When the page is loaded, these buttons are disabled. They will be enabled by JavaScript in several hundred milliseconds (~500ms).

对于DalmTo的情况,我认为他没有足够耐心等待500毫秒的延迟,并且认为他的随机单击启用了按钮,实际上这无关紧要.

For DalmTo's case, I think he is not patient enough to wait for the 500ms delay, and thought his randomly clicks enabled the buttons, actually it is unrelated.

对我来说,OAuth 2流不太可能无法在Chrome上运行.否则,您会在这里看到很多投诉.

To me, it is unlikely that the OAuth 2 flow doesn't work on Chrome. Otherwise, you'll see lots of complaints here.

这篇关于Google OAuth登录页面的“取消"和“接受"按钮似乎已被禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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