Manage JupyterHub users
Control who works in your JupyterHub: with single sign-on (SSO), your users sign in through your provider, and with basic authentication, you create the admin account and approve new users. In both cases, an admin can add users on the Admin page.
Prerequisites
- A JupyterHub service whose Status is Healthy. See Create a JupyterHub service.
- The URL of the service, on its Essential Information tab. See View JupyterHub details.
Sign in with single sign-on
Single Sign On is selected by default when you create a JupyterHub service. With SSO, JupyterHub has no Sign Up page and no Authorize page.
- Open the URL of the service in a browser.
- Select the button of your provider, for example Sign in with FPT-ID.
- Sign in with your provider account.
The email that you entered in the Single Sign On section when you created the service becomes the JupyterHub admin. Other users sign in with the same provider.
Create the admin account with basic authentication
When you clear Single Sign On on the create form, JupyterHub uses basic authentication. The first account that you create in JupyterHub must have the username admin. It becomes the administrator account.
-
Open the URL of the service in a browser.
-
Select Sign Up.
-
On the Sign Up page, enter
adminin Username. -
Enter a Password.
-
Enter the same password in Confirm password.
-
Select Create User.

-
Sign in with the
adminusername and the password that you set.
Add users from the Admin page
A user with the Admin role manages users on the Admin page, with SSO or with basic authentication.
The Admin page has a search box, the only active servers filter, and the Manage Groups, Add Users, Start All, Stop All, and Shutdown Hub buttons. The user table has the columns User, Admin, Server, Last Activity, and Actions. Actions holds buttons for the server of each user, such as Start Server and Spawn Page, and Edit User.
-
Sign in to JupyterHub as a user with the Admin role.
-
Select Admin in the menu bar.
-
Select Add Users.

-
In the Add Users panel, enter the usernames, one per line.
-
Select Admin to give the new users the Admin role. Leave it cleared to give them the User role.
-
Select Add Users. To go back without adding users, select Back.

Approve users who sign up
With basic authentication, users can create their own account with Create User on the Sign Up page. The account cannot sign in to JupyterHub until an admin authorizes it.
- Sign in with the
adminaccount. - Add
/hub/authorizeto the end of the JupyterHub URL, then open it. - In the Authorization area, select Authorize in the row of the user.

The Authorization area lists every user who has an account. Is authorized? shows Yes or No for each user. The actions are:
| Action | Description |
|---|---|
| Authorize | Lets the user sign in to JupyterHub. A user who is not authorized cannot sign in. |
| Unauthorize | Revokes the access granted earlier. The user still exists in JupyterHub but can no longer sign in. |
| Change password | Resets the password of the user, for example when the user forgets it or asks for a reset. |
| Discard | For a user who is not authorized yet. Rejects the account and removes the user from the list. To use JupyterHub again, the user creates the account again, or an admin adds the user again. |