Now you can pass clock_skew (in seconds) to verify_id_token method when verify id token to take in account the time skew between Firebase time and server time.
the issue has been fixed in the original repo
decoded_token = auth.verify_id_token(id_token, clock_skew=60) # 60 sec
Firebase provides the tools and infrastructure you need to develop apps, grow your user base, and earn money. The Firebase Admin Python SDK enables access to Firebase services from privileged environments (such as servers or cloud) in Python. Currently this SDK provides Firebase custom authentication support.
For more information, visit the Firebase Admin SDK setup guide.
To install Firebase Admin Python SDK, simply execute the following command in a terminal:
pip install firebase-admin
Please refer to the CONTRIBUTING page for more information about how you can contribute to this project. We welcome bug reports, feature requests, code review feedback, and also pull requests.
We currently support Python 3.7+. Firebase Admin Python SDK is also tested on PyPy and Google App Engine environments.
Firebase Admin Python SDK is licensed under the Apache License, version 2.0.
Your use of Firebase is governed by the Terms of Service for Firebase Services.