How to get the current user id using firebase admin?

Viewed 1380

I am working on an assistant app for which I am writing a cloud function which must retrieve the current user data from Firebase database by using the user id. I am using firebase admin and I referred the docs for firebase admin where they've mentioned the way of retrieving user data by using user id but they haven't mentioned how to get the current user id. How do I get the currently signed in user id?

1 Answers
Related