Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Groups whitelist and admin group #340

Closed
wants to merge 11 commits into from
Closed

Google Groups whitelist and admin group #340

wants to merge 11 commits into from

Conversation

missingcharacter
Copy link
Contributor

@missingcharacter missingcharacter commented Mar 10, 2020

in jupyterhub_config.py add the lines below:

c.GoogleOAuthenticator.google_group_whitelist = { 'someGSuiteGroup' }
c.GoogleOAuthenticator.admin_google_groups = {'gSuiteGroupWhoseMembersShouldBeAdmins'}
c.GoogleOAuthenticator.scope = ['openid', 'email', 'https://www.googleapis.com/auth/admin.directory.group.readonly']

I have to admit I made the changes to make it work, but this is not pretty, let me know if there is something you'd like me to change.

@missingcharacter missingcharacter changed the title Based on gitlab's whitelist group Google Groups whitelist based on gitlab's whitelist group Mar 10, 2020
@missingcharacter missingcharacter changed the title Google Groups whitelist based on gitlab's whitelist group Google Groups whitelist and admin group Mar 10, 2020
@missingcharacter
Copy link
Contributor Author

I can also update docs once #336 is merged

@missingcharacter
Copy link
Contributor Author

closing since this requires a service account

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant