sanjeevbora commited on
Commit
824b61b
·
verified ·
1 Parent(s): 9392822
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -60,12 +60,12 @@ books_db_client_retriever = RetrievalQA.from_chain_type(
60
  )
61
 
62
  # OAuth Configuration
63
- TENANT_ID = 'your-tenant-id'
64
- CLIENT_ID = 'your-client-id'
65
- CLIENT_SECRET = 'your-client-secret'
66
- REDIRECT_URI = 'https://your-chatbot.hf.space/auth/callback'
67
- AUTH_URL = f"https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0/authorize"
68
- TOKEN_URL = f"https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0/token"
69
 
70
  # Function to redirect to Microsoft login
71
  def get_login_url():
 
60
  )
61
 
62
  # OAuth Configuration
63
+ TENANT_ID = '2b093ced-2571-463f-bc3e-b4f8bcb427ee'
64
+ CLIENT_ID = '2a7c884c-942d-49e2-9e5d-7a29d8a0d3e5'
65
+ CLIENT_SECRET = 'EOF8Q~kKHCRgx8tnlLM-H8e93ifetxI6x7sU6bGW'
66
+ REDIRECT_URI = 'https://sanjeevbora-chatbot.hf.space/'
67
+ AUTH_URL = f"https://login.microsoftonline.com/2b093ced-2571-463f-bc3e-b4f8bcb427ee/oauth2/v2.0/authorize"
68
+ TOKEN_URL = f"https://login.microsoftonline.com/2b093ced-2571-463f-bc3e-b4f8bcb427ee/oauth2/v2.0/token"
69
 
70
  # Function to redirect to Microsoft login
71
  def get_login_url():