jupyterhub / oauthenticator

OAuth + JupyterHub Authenticator = OAuthenticator
https://oauthenticator.readthedocs.io
BSD 3-Clause "New" or "Revised" License
413 stars 365 forks source link

[All] Stop allowing all authenticated users by default #620

Closed consideRatio closed 1 year ago

consideRatio commented 1 year ago

Our authenticators default to allowing all authenticated users if no set of allowed users are configured.

I think this default should change to not allow all authenticated users in those situations. At the same time, it should be possible to allow all authenticated users.

To accomplish this, I suggest we don't allow any user unless explicitly allowed by some config, and then also introduce the allow_all config defaulting to False, allowing all users to be allowed.

Related

manics commented 1 year ago

https://github.com/jupyterhub/oauthenticator/issues/609