Yaswanth56 commited on
Commit
ec42e3b
·
verified ·
1 Parent(s): 87cc2f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -26,13 +26,9 @@ CLIENT_ID = '3MVG9WVXk15qiz1JbtW1tT9a7WojFUbAfMVyVXfvI4PISHAKAxmZ8RLS1lBHqpnaDPQ
26
  CLIENT_SECRET = '36C463CD713C420BA2ED78F853359EACCE1ECCE2954C9810FFD7F946564CB0E8'
27
  SECURITY_TOKEN = 'sSSjyhInIsUohKpG8sHzty2q'
28
 
 
29
  REDIRECT_URI = 'https://huggingface.co/spaces/Yaswanth56/python_test/oauth/callback' # Your redirect URI
30
 
31
- # Placeholder test route to check if the app is accessible
32
- @app.route('/test_route')
33
- def test_route():
34
- return "Test route is working! Flask app is accessible."
35
-
36
  # OAuth flow to redirect to Salesforce login
37
  @app.route('/login')
38
  def login():
 
26
  CLIENT_SECRET = '36C463CD713C420BA2ED78F853359EACCE1ECCE2954C9810FFD7F946564CB0E8'
27
  SECURITY_TOKEN = 'sSSjyhInIsUohKpG8sHzty2q'
28
 
29
+ # Corrected Redirect URI (make sure it's set correctly in Salesforce's Connected App)
30
  REDIRECT_URI = 'https://huggingface.co/spaces/Yaswanth56/python_test/oauth/callback' # Your redirect URI
31
 
 
 
 
 
 
32
  # OAuth flow to redirect to Salesforce login
33
  @app.route('/login')
34
  def login():