How do I send Firebase token to backend (Node / Express) via HTTPS

强颜欢笑 提交于 2019-12-01 07:15:26

Does your Node server-side piece have an API already created, or do you need to build that?

There are many ways to pass this information from the client to the server. Sometimes auth information is passed in an HTTP header of an API call that does something else. Sometimes APIs include a specific call to "register" a user with the backend, where you would pass the client-side token to the server in the payload of that one call.

There is no single best way to pass the client user authorization information to the server, every application needs to make that decision as part of their server-side design.

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