Skip to content

Commit

Permalink
[Cloudbank] LACC GithubOauth
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-morris committed Jun 27, 2024
1 parent edacd8c commit fe57127
Showing 1 changed file with 9 additions and 42 deletions.
51 changes: 9 additions & 42 deletions config/clusters/cloudbank/lacc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,47 +26,14 @@ jupyterhub:
hub:
config:
JupyterHub:
authenticator_class: cilogon
CILogonOAuthenticator:
oauth_callback_url: "https://lacc.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
OAuthenticator:
# WARNING: Don't use allow_existing_users with config to allow an
# externally managed group of users, such as
# GitHubOAuthenticator.allowed_organizations, as it breaks a
# common expectations for an admin user.
#
# The broken expectation is that removing a user from the
# externally managed group implies that the user won't have
# access any more. In practice the user will still have
# access if it had logged in once before, as it then exists
# in JupyterHub's database of users.
#
allow_existing_users: True
authenticator_class: github
GitHubOAuthenticator:
oauth_callback_url: https://lacc.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_organizations:
- LACC-Statistical-Data-Analytics
scope:
- read:org
Authenticator:
# WARNING: Removing a user from admin_users or allowed_users doesn't
# revoke admin status or access.
#
# OAuthenticator.allow_existing_users allows any user in the
# JupyterHub database of users able to login. This includes
# any previously logged in user or user previously listed in
# allowed_users or admin_users, as such users are added to
# JupyterHub's database on startup.
#
# To revoke admin status or access for a user when
# allow_existing_users is enabled, first remove the user from
# admin_users or allowed_users, then deploy the change, and
# finally revoke the admin status or delete the user via the
# /hub/admin panel.
#
admin_users:
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- sean-morris
- pineda0021

0 comments on commit fe57127

Please sign in to comment.