Closed ajeffowens closed 10 months ago
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
You'll need to add allow_all
to allow all users:
https://oauthenticator.readthedocs.io/en/latest/reference/changelog.html#breaking-changes
We made this change after several reports of admins not realising that by default OAuthenticator would allow all users in, which is a particular problem with public OAuth providers such as GitHub.
It looks like we're missing an upgrade guide for Z2JH 3 https://z2jh.jupyter.org/en/stable/administrator/upgrading/index.html
Awesome, thank you @manics. hub.config.Authenticator.allow_all: true
has resolved the issue
Awesome, thank you @manics.
hub.config.Authenticator.allow_all: true
has resolved the issue
Note that it should probably be either hub.config.OAuthenticator.allow_all: true
or hub.config.GenericOAuthenticator.allow_all: true
because its introduced in the OAutenticator class.
I am using jupyterhub helm chart version 3.2.1 with the generic-oauth authenticator. The authenticator works when I provided a user whitelist (hub.config.Authenticator.allowed_users). As in, users that are whitelisted can get in, but nobody else can. Everyone gets a 403 when the whitelist is not applied. I would like for all authenticated users to be allowed by default, but I am not seeing how to do that in the doc.
relevant section of helm values:
Here is what the logs looks like when a user is denied. Either by way of not being in the allowed_users list or when user is not in whitelist:
As you can see, the auth is good, the callback happens, but the user is denied by jupyterhub.
This is running on aks 1.26.10