Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the firebase current user id (uid) in python?

I need to get the current user id.
In Javascript I use this to obtain the id

uid = firebase.auth().currentUser.uid // uid= ABO0Xc2E6KSDodEhenICkXF371x1 

how do I get the uid in python ?

like image 340
e.iluf Avatar asked Oct 28 '25 09:10

e.iluf


1 Answers

This is the code to retrieve the user id without login or signup.

auth.current_user['localId']
like image 77
Praveen Narala Avatar answered Oct 31 '25 02:10

Praveen Narala



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!