Spaces:
Paused
Paused
auth
Browse files
app.py
CHANGED
@@ -60,12 +60,12 @@ books_db_client_retriever = RetrievalQA.from_chain_type(
|
|
60 |
)
|
61 |
|
62 |
# OAuth Configuration
|
63 |
-
TENANT_ID = '
|
64 |
-
CLIENT_ID = '
|
65 |
-
CLIENT_SECRET = '
|
66 |
-
REDIRECT_URI = 'https://
|
67 |
-
AUTH_URL = f"https://login.microsoftonline.com/
|
68 |
-
TOKEN_URL = f"https://login.microsoftonline.com/
|
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():
|