Spaces:
Runtime error
Runtime error
Andrew Moffat
commited on
Commit
·
3f31616
1
Parent(s):
a93b17b
streamlit secrets
Browse files- google_oauth.py +1 -1
google_oauth.py
CHANGED
@@ -13,7 +13,7 @@ SCOPES = [
|
|
13 |
@st.cache_resource
|
14 |
def get_flow():
|
15 |
"""Create the oauth flow client"""
|
16 |
-
client_creds_str =
|
17 |
if client_creds_str:
|
18 |
client_creds = json.loads(client_creds_str)
|
19 |
else:
|
|
|
13 |
@st.cache_resource
|
14 |
def get_flow():
|
15 |
"""Create the oauth flow client"""
|
16 |
+
client_creds_str = st.secrets.get("GOOGLE_CLIENT_CREDENTIALS")
|
17 |
if client_creds_str:
|
18 |
client_creds = json.loads(client_creds_str)
|
19 |
else:
|