Quantcast
Channel: Firebase set up rewrites to pass current user to Cloud Function - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Michael Bleigh for Firebase set up rewrites to pass current user to...

Firebase Hosting passes along any cookie named __session when it calls a Cloud Function. An easy way to do this is to simply listen for ID tokens in your web app and set the cookie...

View Article



Firebase set up rewrites to pass current user to Cloud Function

I'm trying to use Cloud Functions for Firebase to serve content and I'd like to detect whether a user is logged in or not. I've set up a rewrite in my firebase.json that looks like this:{"database":...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images