Skip to content

Commit 3bed88b

Browse files
committed
only unified file
1 parent 7d655d1 commit 3bed88b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/onyx/auth/unified_oauth_callback.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,12 +369,14 @@ async def get_google_user_info(access_token: str) -> dict:
369369
return response.json()
370370

371371
async def get_microsoft_user_info(access_token: str) -> dict:
372+
logger.info(f"accesssssssssssssssssssss{access_token}")
372373
async with httpx.AsyncClient() as client:
373374
response = await client.get(
374375
"https://graph.microsoft.com/v1.0/me",
375376
headers={"Authorization": f"Bearer {access_token}"}
376377
)
377378
response.raise_for_status()
379+
logger.info(f"response:{response.json()}")
378380
return response.json()
379381

380382
def get_unified_oauth_callback_router(

0 commit comments

Comments
 (0)