Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,8 +24,8 @@ SPACE_HOST = os.getenv("SPACE_HOST")
|
|
24 |
redirect_uri = f"https://{SPACE_HOST}/login/callback"
|
25 |
|
26 |
# Initializing the OAuth client/session with the retrieved environment variables
|
27 |
-
oauth_client = OAuth2Session(client_id=
|
28 |
-
client_secret=
|
29 |
scope=OAUTH_SCOPES,
|
30 |
redirect_uri=redirect_uri)
|
31 |
|
|
|
24 |
redirect_uri = f"https://{SPACE_HOST}/login/callback"
|
25 |
|
26 |
# Initializing the OAuth client/session with the retrieved environment variables
|
27 |
+
oauth_client = OAuth2Session(client_id=OAUTH_CLIENT_ID,
|
28 |
+
client_secret=OAUTH_CLIENT_SECRET, # Include client_secret if needed for the OAuth2Session setup
|
29 |
scope=OAUTH_SCOPES,
|
30 |
redirect_uri=redirect_uri)
|
31 |
|