Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,8 +22,8 @@ SALESFORCE_OAUTH_URL = "https://login.salesforce.com/services/oauth2/authorize"
|
|
| 22 |
SALESFORCE_TOKEN_URL = "https://login.salesforce.com/services/oauth2/token"
|
| 23 |
CLIENT_ID = os.getenv('SALESFORCE_CLIENT_ID', 'your_client_id') # Use environment variables
|
| 24 |
CLIENT_SECRET = os.getenv('SALESFORCE_CLIENT_SECRET', 'your_client_secret') # Use environment variables
|
| 25 |
-
REDIRECT_URI = os.getenv('SALESFORCE_REDIRECT_URI', 'https://huggingface.co/spaces/nagasurendra/BiryaniHubflask21/oauth/callback
|
| 26 |
-
|
| 27 |
|
| 28 |
# Salesforce connection setup
|
| 29 |
def get_salesforce_connection():
|
|
|
|
| 22 |
SALESFORCE_TOKEN_URL = "https://login.salesforce.com/services/oauth2/token"
|
| 23 |
CLIENT_ID = os.getenv('SALESFORCE_CLIENT_ID', 'your_client_id') # Use environment variables
|
| 24 |
CLIENT_SECRET = os.getenv('SALESFORCE_CLIENT_SECRET', 'your_client_secret') # Use environment variables
|
| 25 |
+
REDIRECT_URI = os.getenv('SALESFORCE_REDIRECT_URI', 'https://huggingface.co/spaces/nagasurendra/BiryaniHubflask21/oauth/callback')
|
| 26 |
+
|
| 27 |
|
| 28 |
# Salesforce connection setup
|
| 29 |
def get_salesforce_connection():
|