Firebase提供程序登录无法在facebook/messenger/instagram应用内浏览器Webview中使用.错误403:disallowed_useragent [英] Firebase provider sign-in is not working inside facebook/messenger/instagram in-app browser webview. Error 403: disallowed_useragent

查看:87
本文介绍了Firebase提供程序登录无法在facebook/messenger/instagram应用内浏览器Webview中使用.错误403:disallowed_useragent的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的团队使用Firebase身份验证,我们最近遇到了主要问题.我们开始在Facebook上刊登广告.不幸的是,facebook应用程序会打开应用程序内web视图中的所有链接.Google阻止了对通过嵌入式浏览器与提供商进行登录的支持,因此任何通过facebook/messenger/instagram应用程序打开我们的Web应用程序的用户都无法登录.Google/Facebook登录返回 403:disallowed_usegagent 和无法注册.有什么解决方法吗?有没有人遇到过类似的问题?

my team uses firebase auth and we recently run into major problems. We started advertising our website on facebook. Unfortunately, facebook app opens all the links in the in-app webview. Google blocked support for signing in with provider through embedded browser, so none of the users that opens our webapp through facebook/messenger/instagram apps can sign in. Google/Facebook sign-in returns 403: disallowed_usegagent and it is impossible to sign up. Is there any workaround? Has anyone experienced a similar issue?

推荐答案

不确定Google,但对于Facebook,我建议:

Not sure about Google, but for Facebook I would recommend:

  1. 请勿在Firebase中使用SignWithPopup
  2. 嵌入式浏览器OAuth登录设置为在Facebook开发者控制台中将Facebook登录应用的值设置为开"
  1. do not use SignWithPopup in firebase
  2. set Embedded Browser OAuth Login to value ON for Facebook login app in Facebook developers console

这篇关于Firebase提供程序登录无法在facebook/messenger/instagram应用内浏览器Webview中使用.错误403:disallowed_useragent的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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