Spaces:
Sleeping
Sleeping
Update app.py
#4
by
Yaswanth56
- opened
app.py
CHANGED
@@ -62,7 +62,7 @@ def oauth_callback():
|
|
62 |
if token_response.status_code == 200:
|
63 |
token_info = token_response.json()
|
64 |
access_token = token_info['sSSjyhInIsUohKpG8sHzty2q'] # Correct key to fetch the access token
|
65 |
-
instance_url = token_info['https://
|
66 |
|
67 |
# Store access token in session for future API requests
|
68 |
session['access_token'] = access_token
|
|
|
62 |
if token_response.status_code == 200:
|
63 |
token_info = token_response.json()
|
64 |
access_token = token_info['sSSjyhInIsUohKpG8sHzty2q'] # Correct key to fetch the access token
|
65 |
+
instance_url = token_info['https://biryanihub-dev-ed.develop.my.site.com/s/welcomePage'] # Correct key to fetch the instance URL
|
66 |
|
67 |
# Store access token in session for future API requests
|
68 |
session['access_token'] = access_token
|