Firebase Hosting and Custom Authentication

倖福魔咒の 提交于 2021-02-05 08:52:34

问题


Is it possible to use a custom authentication strategy, and Firebase hosting? Due to the lack of server-side code support with the Hosting plan, it doesn't seem likely, or am I missing something?


回答1:


Firebase Hosting is a way to serve static assets to web visitors. It cannot run your custom code on Firebase's servers.

So the answer is indeed: no, you cannot use Firebase Hosting to mint custom JWT tokens on the Firebase servers.



来源:https://stackoverflow.com/questions/34411247/firebase-hosting-and-custom-authentication

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