How to block localhost in firebase?

折月煮酒 提交于 2019-12-13 03:13:30

问题


I want to block localhost in firebase and only allow my secure domain. I've tried using the "Authorized domain" in the sign-in method but it's not blocking the localhost. is there any way to allow only certain url/domain on my website?


回答1:


You can delete localhost from your list of authorized domains. Hover over the row in the Firebase Console. The trash bin icon will appear on the right side of the row and you can click that to delete that domain.

Note this affects phone auth and OAuth domains only. Firebase Auth does not perform domain checks on email/password sign in.



来源:https://stackoverflow.com/questions/50905761/how-to-block-localhost-in-firebase

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