Skip to content

Commit 556251d

Browse files
committed
added extra requirements and deleted measure parameter in call tot firebase
1 parent edce8f2 commit 556251d

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.env
22
*.pyc
3-
/__pycache__
3+
/__pycache__
4+
/.venv

Firebase_Authentication_Using_Flask/db.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@
1010
"projectId": os.environ.get("FIREBASE_PROJECT_ID"),
1111
"storageBucket": os.environ.get("FIREBASE_STORAGE_BUCKET"),
1212
"messagingSenderId": os.environ.get("FIREBASE_MESSAGING_SENDER_ID"),
13-
"appId": os.environ.get("FIREBASE_APP_ID"),
14-
"measurementId": os.environ.get("FIREBASE_MEASUREMENT_ID")
13+
"appId": os.environ.get("FIREBASE_APP_ID")
1514
}
1615

16+
# "measurementId": os.environ.get("FIREBASE_MEASUREMENT_ID")
17+
18+
1719
#Intializing Firebase Object
1820
firebase = Firebase(config)
1921

Firebase_Authentication_Using_Flask/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from db import auth
55

66
app = Flask(__name__)
7-
app.secret_key = "MBSAIADITYA"
7+
app.secret_key = "somesecretkey"
88

99
exempted_endpoints = ['signup','login','static']
1010

Firebase_Authentication_Using_Flask/requirements.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ gcloud==0.18.3
55
sseclient==0.0.27
66
pycryptodome==3.18.0
77
requests-toolbelt==0.10.1
8-
urllib3==1.26.15
8+
urllib3==1.26.15
9+
Werkzeug==2.2.2
10+
setuptools

0 commit comments

Comments
 (0)