Getting user info from request to Cloud Function in Firebase

Viewed 3649

I'd like to be able to get user information for a Cloud Function that gets called in Firebase. I have something like this, which is being called after the user signs into the app:

exports.myFunction = functions.https.onRequest((req, res) => { ... }

And I need to get the uid of the signed-in user that made the request. Any advice or comments please?

1 Answers
Related