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
Post a Comment