Spaces:
Sleeping
Sleeping
app.py
CHANGED
|
@@ -114,7 +114,7 @@ def main():
|
|
| 114 |
if st.button("Login with Google"):
|
| 115 |
flow = create_flow()
|
| 116 |
authorization_url, _ = flow.authorization_url(prompt="consent")
|
| 117 |
-
st.markdown(f"
|
| 118 |
else:
|
| 119 |
credentials = Credentials.from_authorized_user_info(json.loads(st.session_state['credentials']))
|
| 120 |
user_info = get_user_info(credentials)
|
|
|
|
| 114 |
if st.button("Login with Google"):
|
| 115 |
flow = create_flow()
|
| 116 |
authorization_url, _ = flow.authorization_url(prompt="consent")
|
| 117 |
+
st.markdown(f'<meta http-equiv="refresh" content="0;url={authorization_url}">', unsafe_allow_html=True)
|
| 118 |
else:
|
| 119 |
credentials = Credentials.from_authorized_user_info(json.loads(st.session_state['credentials']))
|
| 120 |
user_info = get_user_info(credentials)
|