Reputation: 1170
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
Upvotes: 1
Views: 2652
Reputation: 598603
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.
Upvotes: 3