Google OAuth login page 'cancel' and '

2019-05-30 10:08发布

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:

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.

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.

1条回答
我命由我不由天
2楼-- · 2019-05-30 11:09

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).

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.

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

查看更多
登录 后发表回答