forked from 2i2c-org/infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oauthenticator 16: add allow_existing_users where allowed_users was c…
…onfigured
- Loading branch information
1 parent
65e892b
commit 66056b9
Showing
15 changed files
with
42 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,9 @@ jupyterhub: | |
urn:mace:incommon:berkeley.edu: | ||
username_derivation: | ||
username_claim: "email" | ||
OAuthenticator: | ||
allow_existing_users: True | ||
Authenticator: | ||
# FIXME: In z2jh 3.0.0-beta.1, a truthy allowed_users implies | ||
# allow_existing_users=True, while in z3jh 3.0.0 this needs to be | ||
# configured explicitly. | ||
# | ||
allowed_users: &howard_users | ||
- [email protected] | ||
- [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,9 @@ jupyterhub: | |
urn:mace:incommon:berkeley.edu: | ||
username_derivation: | ||
username_claim: "email" | ||
OAuthenticator: | ||
allow_existing_users: True | ||
Authenticator: | ||
# FIXME: In z2jh 3.0.0-beta.1, a truthy allowed_users implies | ||
# allow_existing_users=True, while in z3jh 3.0.0 this needs to be | ||
# configured explicitly. | ||
# | ||
allowed_users: &lacc_users | ||
- [email protected] | ||
- [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,9 @@ jupyterhub: | |
urn:mace:incommon:berkeley.edu: | ||
username_derivation: | ||
username_claim: "email" | ||
OAuthenticator: | ||
allow_existing_users: True | ||
Authenticator: | ||
# FIXME: In z2jh 3.0.0-beta.1, a truthy allowed_users implies | ||
# allow_existing_users=True, while in z3jh 3.0.0 this needs to be | ||
# configured explicitly. | ||
# | ||
allowed_users: &palomar_users | ||
- [email protected] | ||
- [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,11 +39,9 @@ jupyterhub: | |
urn:mace:incommon:berkeley.edu: | ||
username_derivation: | ||
username_claim: "email" | ||
OAuthenticator: | ||
allow_existing_users: True | ||
Authenticator: | ||
# FIXME: In z2jh 3.0.0-beta.1, a truthy allowed_users implies | ||
# allow_existing_users=True, while in z3jh 3.0.0 this needs to be | ||
# configured explicitly. | ||
# | ||
allowed_users: &sbcc_users | ||
- [email protected] | ||
- [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,11 +39,9 @@ jupyterhub: | |
urn:mace:incommon:berkeley.edu: | ||
username_derivation: | ||
username_claim: "email" | ||
OAuthenticator: | ||
allow_existing_users: True | ||
Authenticator: | ||
# FIXME: In z2jh 3.0.0-beta.1, a truthy allowed_users implies | ||
# allow_existing_users=True, while in z3jh 3.0.0 this needs to be | ||
# configured explicitly. | ||
# | ||
allowed_users: &sbcc_users | ||
- [email protected] | ||
- [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,9 @@ jupyterhub: | |
urn:mace:incommon:berkeley.edu: | ||
username_derivation: | ||
username_claim: "email" | ||
OAuthenticator: | ||
allow_existing_users: True | ||
Authenticator: | ||
# FIXME: In z2jh 3.0.0-beta.1, a truthy allowed_users implies | ||
# allow_existing_users=True, while in z3jh 3.0.0 this needs to be | ||
# configured explicitly. | ||
# | ||
allowed_users: &staging_users | ||
- [email protected] | ||
admin_users: *staging_users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,11 +36,9 @@ jupyterhub: | |
urn:mace:incommon:berkeley.edu: | ||
username_derivation: | ||
username_claim: "email" | ||
OAuthenticator: | ||
allow_existing_users: True | ||
Authenticator: | ||
# FIXME: In z2jh 3.0.0-beta.1, a truthy allowed_users implies | ||
# allow_existing_users=True, while in z3jh 3.0.0 this needs to be | ||
# configured explicitly. | ||
# | ||
allowed_users: &tuskegee_users | ||
- [email protected] | ||
- [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,16 +34,6 @@ basehub: | |
node.kubernetes.io/instance-type: n1-standard-2 | ||
hub: | ||
config: | ||
Authenticator: | ||
admin_users: &admin_users | ||
- [email protected] | ||
# FIXME: In z2jh 3.0.0-beta.1, a truthy allowed_users implies | ||
# allow_existing_users=True, while in z3jh 3.0.0 this needs to be | ||
# configured explicitly. | ||
# | ||
allowed_users: *admin_users | ||
# Delete any prior existing users in the db that don't pass username_pattern | ||
delete_invalid_users: true | ||
JupyterHub: | ||
authenticator_class: cilogon | ||
CILogonOAuthenticator: | ||
|
@@ -52,3 +42,11 @@ basehub: | |
http://google.com/accounts/o8/id: | ||
username_derivation: | ||
username_claim: "email" | ||
OAuthenticator: | ||
allow_existing_users: True | ||
Authenticator: | ||
admin_users: &admin_users | ||
- [email protected] | ||
allowed_users: *admin_users | ||
# Delete any prior existing users in the db that don't pass username_pattern | ||
delete_invalid_users: true |