utoronto-2i2c / jupyterhub-deploy

Demo JupyterHub deployment for University of Toronto
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Display user emails in admin page instead of oid #38

Open yuvipanda opened 4 years ago

yuvipanda commented 4 years ago

We currently use opaque oids for usernames, and so admin pages are pretty unfriendly in identifying who is what.

Instead, we should display user emails there. The user email can not be used as JupyterHub username, but is available in auth_state. Now that https://github.com/jupyterhub/jupyterhub/pull/3176 has been merged, we can access auth_state from the admin page template and display extra information there.

I'd like us to display user email there as an additional field