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

Revert "cilogon hubs: declare first allowed_idps entry as default" #3460

Merged
merged 1 commit into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion config/clusters/2i2c-aws-us/cosmicds.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ jupyterhub:
oauth_callback_url: https://cosmicds.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://github.com/login/oauth/authorize:
default: true
username_derivation:
username_claim: "preferred_username"
allow_all: true
Expand Down
1 change: 0 additions & 1 deletion config/clusters/2i2c-uk/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,5 @@ jupyterhub:
oauth_callback_url: "https://staging.uk.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
1 change: 0 additions & 1 deletion config/clusters/2i2c/aup.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jupyterhub:
oauth_callback_url: "https://aup.pilot.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://github.com/login/oauth/authorize:
default: true
username_derivation:
username_claim: "preferred_username"
OAuthenticator:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/2i2c/binder-staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ binderhub:
oauth_callback_url: "https://binder-staging.hub.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
Authenticator:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/2i2c/dask-staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,5 @@ basehub:
oauth_callback_url: "https://dask-staging.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
1 change: 0 additions & 1 deletion config/clusters/2i2c/demo.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jupyterhub:
allowed_idps:
# UTexas hub
https://enterprise.login.utexas.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "eppn"
allow_all: true
Expand Down
1 change: 0 additions & 1 deletion config/clusters/2i2c/mtu.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jupyterhub:
allowed_idps:
# Allow MTU to login via Shibboleth
https://sso.mtu.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/2i2c/neurohackademy.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jupyterhub:
oauth_callback_url: https://neurohackademy.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://github.com/login/oauth/authorize:
default: true
username_derivation:
username_claim: "preferred_username"
OAuthenticator:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/2i2c/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,5 @@ jupyterhub:
oauth_callback_url: "https://staging.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
1 change: 0 additions & 1 deletion config/clusters/2i2c/temple.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ jupyterhub:
oauth_callback_url: https://temple.2i2c.cloud/hub/oauth_callback
allowed_idps:
https://fim.temple.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "eppn"
allow_all: true
Expand Down
29 changes: 19 additions & 10 deletions config/clusters/2i2c/ucmerced-common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,28 @@ jupyterhub:
name: University of California, Merced
url: http://www.ucmerced.edu/
hub:
extraConfig:
100-cilogon-ordering: |
# Explicitly specify allowed_idps here, so their sort order is
# preserved. Otherwise, the keys get sorted lexicographically,
# and Google comes before UC Merced
# https://github.com/2i2c-org/infrastructure/issues/3267
c.CILogonOAuthenticator.allowed_idps = {
"urn:mace:incommon:ucmerced.edu": {
"username_derivation": {
"username_claim": "eppn"
},
"allow_all": True
},
"http://google.com/accounts/o8/id": {
"username_derivation": {
"username_claim": "email"
}
}
}
config:
JupyterHub:
authenticator_class: cilogon
CILogonOAuthenticator:
allowed_idps:
urn:mace:incommon:ucmerced.edu:
default: true
username_derivation:
username_claim: "eppn"
allow_all: true
http://google.com/accounts/o8/id:
username_derivation:
username_claim: "email"
Authenticator:
admin_users:
- [email protected]
1 change: 0 additions & 1 deletion config/clusters/callysto/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ jupyterhub:
- "106951135662332329542" # Elmar Bouwer (Cybera)
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "oidc"
allowed_domains: &allowed_domains
Expand Down
1 change: 0 additions & 1 deletion config/clusters/carbonplan/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ basehub:
CILogonOAuthenticator:
allowed_idps:
http://github.com/login/oauth/authorize:
default: true
username_derivation:
username_claim: "preferred_username"
OAuthenticator:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/catalystproject-africa/nm-aist.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: https://nm-aist.af.catalystproject.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: email
allowed_domains:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://unitefa-conicet.latam.catalystproject.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/bcc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://bcc.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/ccsf.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: "https://ccsf.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/csm.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: https://csm.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/csulb.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://csulb.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
https://its-shib.its.csulb.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "email"
allow_all: true
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/csum.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: "https://csum.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
https://cma-shibboleth.csum.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "email"
allow_all: true
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/demo.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jupyterhub:
oauth_callback_url: https://demo.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
Authenticator:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/dvc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jupyterhub:
oauth_callback_url: https://dvc.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://login.microsoftonline.com/common/oauth2/v2.0/authorize:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/elcamino.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jupyterhub:
oauth_callback_url: "https://elcamino.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/evc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://evc.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://login.microsoftonline.com/common/oauth2/v2.0/authorize:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/fresno.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: https://fresno.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
https://idp.scccd.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "email"
allow_all: true
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/glendale.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: https://glendale.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/howard.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://howard.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
OAuthenticator:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/humboldt.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jupyterhub:
oauth_callback_url: https://humboldt.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
https://sso.humboldt.edu/idp/metadata:
default: true
username_derivation:
username_claim: "email"
allow_all: true
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/lacc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
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:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/laney.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://laney.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://login.microsoftonline.com/common/oauth2/v2.0/authorize:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/mills.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://datahub.mills.edu/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/miracosta.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: https://miracosta.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
https://miracosta.fedgw.com/gateway:
default: true
username_derivation:
username_claim: "email"
allow_all: true
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/mission.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://mission.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/norco.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://norco.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://login.microsoftonline.com/common/oauth2/v2.0/authorize:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/palomar.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://palomar.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
OAuthenticator:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/pasadena.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://pasadena.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/sacramento.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://sacramento.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/saddleback.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://saddleback.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/santiago.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://santiago.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://login.microsoftonline.com/common/oauth2/v2.0/authorize:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/sbcc-dev.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://sbcc-dev.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
https://idp.sbcc.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "email"
http://google.com/accounts/o8/id:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/sbcc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://sbcc.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
https://idp.sbcc.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "email"
http://google.com/accounts/o8/id:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/sjcc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: https://sjcc.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://login.microsoftonline.com/common/oauth2/v2.0/authorize:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/sjsu.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jupyterhub:
oauth_callback_url: https://sjsu.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
https://idp01.sjsu.edu/idp/shibboleth:
default: true
username_derivation:
username_claim: "email"
allow_all: true
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/skyline.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://skyline.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/srjc.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jupyterhub:
oauth_callback_url: https://srjc.cloudbank.2i2c.cloud/hub/oauth_callback
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
allowed_domains:
Expand Down
1 change: 0 additions & 1 deletion config/clusters/cloudbank/staging.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jupyterhub:
oauth_callback_url: "https://staging.cloudbank.2i2c.cloud/hub/oauth_callback"
allowed_idps:
http://google.com/accounts/o8/id:
default: true
username_derivation:
username_claim: "email"
OAuthenticator:
Expand Down
Loading