tmpauthenticator is primarily used in binder-like cases. When
a user hits /hub/tmplogin, we want them to get a fresh server.
Currently, this could be accomplished with force_new_server,
which tries to stop a running server (if any) before logging
new user in.
This has several problems:
Stopping servers might fail or take a long time. This shouldn't
affect the ability to start new servers.
This doesn't work with named servers
Instead, we log out the current user first before logging in a
new user. This makes everything much faster & cleaner, at the cost
of leaving the old user's server running. An idle-culler setup
is expected to take care of that.
This is the most common & expected behavior, and a break from the
earlier defaults. Hence this is a breaking change, requiring a new
major version bump.
tmpauthenticator is primarily used in binder-like cases. When a user hits /hub/tmplogin, we want them to get a fresh server. Currently, this could be accomplished with
force_new_server
, which tries to stop a running server (if any) before logging new user in.This has several problems:
Instead, we log out the current user first before logging in a new user. This makes everything much faster & cleaner, at the cost of leaving the old user's server running. An idle-culler setup is expected to take care of that.
This is the most common & expected behavior, and a break from the earlier defaults. Hence this is a breaking change, requiring a new major version bump.
Inspired by https://github.com/jupyterhub/ltiauthenticator/pull/31
TODO: