Firebase provider sign-in is not working inside facebook/messenger/instagram in-app browser webview. Error 403: disallowed_useragent

拟墨画扇 提交于 2021-01-27 04:22:13

问题


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?


回答1:


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

  1. do not use SignWithPopup in firebase
  2. set Embedded Browser OAuth Login to value ON for Facebook login app in Facebook developers console



来源:https://stackoverflow.com/questions/61796991/firebase-provider-sign-in-is-not-working-inside-facebook-messenger-instagram-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!