问题
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