jupyterhub / systemdspawner

Spawn JupyterHub single-user notebook servers with systemd
BSD 3-Clause "New" or "Revised" License
92 stars 45 forks source link

Can this be used with OAuth authenticator #14

Closed ellisonbg closed 7 years ago

ellisonbg commented 7 years ago

The README of this repo say that users have to already have local accounts on the system. However, when using the OAuth authenticator, local user accounts are created dynamically when the user first logs in. Will this approach with this authenticator?

ixjlyons commented 7 years ago

I'd like to know this definitively as well. From what I understand about the flow of jupyterhub, it seems with c.LocalAuthenticator.create_system_users = True, the user account should be created immediately after auth and before the spawner is involved, so it should work.

minrk commented 7 years ago

Yes, all the same Local*Authenticator should work with SystemdSpawner as LocalProcessSpawner.