simple login wrapper for token entry to web applications
This is just a jupyter notebook, in a container.
sudo singularity build sh_notebook Singularity.notebook
# Define variables up front
TMPDIR=$(mktemp -d /tmp/sh_login.XXXXXX)
NGINXPORT=$(( (UID*RANDOM)%55500 + 9000 ));
FLASKPORT=$(( (UID*RANDOM)%55500 + 9000 ));
singularity run --bind /run/user sh_notebook start