Skip to content

Commit

Permalink
Send user avatar in session data
Browse files Browse the repository at this point in the history
Signed-off-by: Vallari Agrawal <[email protected]>
  • Loading branch information
VallariAg committed Nov 23, 2024
1 parent de3daf7 commit 20a8fc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/teuthology_api/routes/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ async def handle_callback(code: str, request: Request):
data = {
"id": response_org_dic.get("user", {}).get("id"),
"username": response_org_dic.get("user", {}).get("login"),
"avatar_url": response_org_dic.get("user", {}).get("avatar_url"),
"state": response_org_dic.get("state"),
"role": response_org_dic.get("role"),
"access_token": token,
Expand Down

0 comments on commit 20a8fc9

Please sign in to comment.