Question

I have some rather heavy/complicated logic that needs to reside on an app server.

The client would request the app server to perform some tasks on firebase data.

Is it safe to pass the user.firebaseauthToken via SSL (in a POST, not url encode) to the app server, where the server could simply use the token for authentication?

Was it helpful?

Solution

The Auth Token you get from Firebase Simple Login is already being passed over SSL from Firebase to your client - so for you to pass it to your app server over SSL really isn't any different.

One thing you might also consider is eliminating the need to POST anything to your app server. You can setup a worker node that takes advantage of Firebase's real-time data sync to listen for changes to your user's data, and execute whatever processing it needs to when it detects a certain change/state.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top