Skip to content

Commit

Permalink
Merge pull request #766 from manics/google-domain-key
Browse files Browse the repository at this point in the history
google groups config docs: properties are dictionaries
  • Loading branch information
consideRatio authored Oct 4, 2024
2 parents f4da2e8 + 9f2ed35 commit cb3a63f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions oauthenticator/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def _userdata_url_default(self):
help="""
Service account keys to use with each domain, see https://developers.google.com/admin-sdk/directory/v1/guides/delegation
This is a mapping of { domain : service-key }.
Required if and only if `allowed_google_groups` or `admin_google_groups`
is configured.
""",
Expand All @@ -74,6 +76,8 @@ def _userdata_url_default(self):
help="""
Username of a G Suite Administrator for the service account to act as.
This is a mapping of { domain : GSuite-administrator }.
Required if and only if `allowed_google_groups` or `admin_google_groups`
is configured.
""",
Expand All @@ -85,6 +89,8 @@ def _userdata_url_default(self):
help="""
Allow members of selected Google groups to sign in.
This is a mapping of { domain : [set of groups] }.
Use of this requires configuration of `gsuite_administrator` and
`google_service_account_keys`.
""",
Expand All @@ -97,6 +103,8 @@ def _userdata_url_default(self):
Allow members of selected Google groups to sign in and consider them as
JupyterHub admins.
This is a mapping of { domain : [set of groups] }.
If this is set and a user isn't part of one of these groups or listed in
`admin_users`, a user signing in will have their admin status revoked.
Expand Down

0 comments on commit cb3a63f

Please sign in to comment.