Is Firebase 3 node.js server authentication going to change? -


right seems way authenticate node.js server passing service account private key means private key lays in ram won't pass security review.

is method going change passing token expiration can generated in secured manner somewhere else? i'm talking firebase 2 authentication (but not hs256 shared secret) love comment firebase's engineers team. thanks

just answer that.

you can :

  var config = {   apikey: "<api_key>",   authdomain: "<project_id>.firebaseapp.com",   databaseurl: "https://<database_name>.firebaseio.com",   storagebucket: "<bucket>.appspot.com", }; firebase.initializeapp(config); 

and doing

firebase.auth().signinwithcustomtoken(<token>) 

before calling

firebase.database().ref() 

you can config going firebase's app overview (https://console.firebase.google.com/project/<app_name>/overview) , pressing "add firebase web app"


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -