I maintain the Jupyterhub CASauthenticator. An
issue that was brought to my attention is that the version of the authenticator that creates local users was only creating the users on hub startup.
I was looking over the authenticator
docs, and I'm not really sure there is any guidance on the approach to creating local users in response to a custom authentication. I know that the PAMAuthenticator has the necessary machinery to create local users, but I'm not sure if my custom authenticator can/should make use of that existing code somehow, or if I should just use some existing hook to create users (e.g. post_auth_hook or pre_spawn_start).
Does anyone have any guidance on this aspect of account provisioning in Jupyterhub?
Thanks,
Carl Waldbieser