I'm using Pyrebase to fetch data from firebase in Django and so far it seems to be able to do everything but for some reason, I can't fetch the User UID from the authentication page in firebase. This is necessary for me to be able to do as all my user database nodes are save under the User UID from here. Here is my current attempt but the idToken doesn't return the User UID
token = user['idToken']
print(token)