Custom authentication for firebase

你说的曾经没有我的故事 提交于 2019-12-12 07:24:26

问题


I want to know how I can use my custom authentication for firebase. Just want to know even if there is a rest api to change the user data or insert user data into firebase databases.

Sorry if the question is too vague.

Thanks


回答1:


You cannot sign in a user through the Firebase REST API.

For custom authentication you need to handle sign-in of the user yourself and then you will need to mint custom tokens on your own app server and pass it back to the client.

The client can then use the custom token to authenticate with the Firebase Database through its REST API by passing it into the auth parameter.



来源:https://stackoverflow.com/questions/39803943/custom-authentication-for-firebase

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