Skip to content

Commit

Permalink
Update oauthenticator/google.py
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Li <[email protected]>
  • Loading branch information
jrdnbradford and manics authored Oct 6, 2024
1 parent 846658c commit a829ff7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion oauthenticator/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ async def _fetch_member_groups(
"""
Return a set with the google groups a given user/group is a member of, including nested groups if allowed.
"""

# WARNING: There's a race condition here if multiple users login at the same time.
# This is currently ignored.
credentials = credentials or self._get_service_credentials(user_email_domain)
token = credentials[user_email_domain].token
checked_groups = checked_groups or set()
Expand Down

0 comments on commit a829ff7

Please sign in to comment.