From a829ff7367073d38c66ad3452eed008a62cb1196 Mon Sep 17 00:00:00 2001 From: Jordan Bradford <36420801+jrdnbradford@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:12:56 -0400 Subject: [PATCH] Update oauthenticator/google.py Co-authored-by: Simon Li --- oauthenticator/google.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oauthenticator/google.py b/oauthenticator/google.py index 8a7e4024..87a9cf16 100644 --- a/oauthenticator/google.py +++ b/oauthenticator/google.py @@ -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()