-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Labels
Description
- Operating System version: Debian 11
- Firebase SDK version: 6.1.0
- Firebase Product: auth
- Python version: 3.11.3
- Pip version: 23.1.2
Steps to reproduce:
firebase-admin==6.1.0 package requires urllib3<3,>=1.21.1 and so pip installs urllib3==2.0.2, but with urllib3>=2.0.0, which removed attribute 'strict' from 'HTTPResponse' object, firebase_admin.auth.verify_id_token(token) raises an error AttributeError: 'HTTPResponse' object has no attribute 'strict'.
Relevant Code:
import firebase_admin
from firebase_admin import auth
cred = firebase_admin.credentials.Certificate(GOOGLE_APPLICATION_CREDENTIALS)
firebase_admin.initialize_app(cred)
firebase_admin.auth.verify_id_token(token)...
File "\Lib\site-packages\cachecontrol\serialize.py", line 54, in dumps
u"strict": response.strict,
^^^^^^^^^^^^^^^
AttributeError: 'HTTPResponse' object has no attribute 'strict'
Tom3652, shirblc, jacobg, DesmarchelierP, paulwvnjohi and 1 more