ARTICLE

web中Google登录或者firebase登录遇到的access blocked的问题

Original Artikel
Erklärung: Der Autor erklärt, dass dieses Artikel ursprünglich ist, ohne Zustimmung des Autors, nicht neu veröffentlicht, wenn neu veröffentlicht wird, muss diese Website anzeigen, und die Plattform behält sich das Recht vor, die gesetzliche Verantwortung für Verstöße zu verfolgen.

之前我在别的文章中已经写过关于在web中实现Google/firebase登录的几种方式和如何优雅实现重定向的步骤,这篇文章是我对之前文章没有明确问题的补充。

问题:

Access blocked: project-xxxx's request does not comply with Google's policies

或者

Error 403:disallowed_useragent

上述问题出现的原因:在mobile移动端的系统浏览器(比如Safari、Google),以及其他App(比如Facebook、Tiktok、Twitter、Snapchat等)的内置webview中,当使用Google的web auth登录集成时,如果是弹出式pop up的授权弹窗,那么基本上会被浏览器或者webview所阻止,导致产品的注册/登录成功率低。

以下是在上面提到的平台platform上授权登录弹窗被阻止的截图:
web auth login fail 1.jpg

web auth login fail 2.jpg
web auth login fail 3.png
web auth login fail 4.png

解决方案:
我之前在其他的文章中有提到过,大家可以参考那片文章:https://www.xinwei.ltd/article/141

web auth reference.png

这篇文章就是为了将报错“access blocked”指向我的那篇没有贴出报错截图的文章,防止大家在搜索问题答案的时候不能找到对应的解决办法。

以上。

Schreiben Sie Ihre Gedanken
Meinungen zu teilen, freundliche Kommunikation
Bitte bleiben Sie freundlich und vernünftig diskutiert
0 Worte

Keine Kommentare, erstmals kommentieren.