Reputation: 63
I have a full stack application with react frontend and node backend. I want to integrate firebase authentication such that the user gets a jet using firebase and then can use it to interact with the routes only for the authenticated users in the REST API
I am able to log in the user in the frontend and am getting a UID, idToken and Access token. What is the correct method to go on from here and how do I use these for sending secure requests to my backend?
Upvotes: 2
Views: 689
Reputation: 317758
You will want to use the Firebase Admin SDK on the backend and use it to verify ID tokens coming from the client.
Upvotes: 2