且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Google OAuth登录页面的“取消"和“接受"按钮似乎已被禁用

更新时间:2023-12-05 09:30:52

最可能的原因是在用户的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.