Hello I need you to write me a Python 2.7 function that will accept the user token and return the uid from google's firebase. I have the service account details and all other information, just need this script. Your python file will contain everything needed to authenticate with the service account, accept the id token as input and print the uid value or any errors.
details are found on google firebase documentation websites