Skip to content

Commit

Permalink
Merge pull request #28 from OVINC-CN/feat_oidc
Browse files Browse the repository at this point in the history
feat(account): add email to oidc user info
  • Loading branch information
OrenZhang authored Feb 18, 2025
2 parents 8f7fb6a + 96085c9 commit 2e960fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/account/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def userinfo(claims, user):
"name": user.username,
"nickname": user.nick_name,
"updated_at": user.last_login.strftime(api_settings.DATETIME_FORMAT),
"email": user.email_address,
}
)
return claims
Expand Down

0 comments on commit 2e960fa

Please sign in to comment.