mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 15:03:02 +00:00
add example service
This commit is contained in:
6
examples/service-whoami/jupyterhub_config.py
Normal file
6
examples/service-whoami/jupyterhub_config.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from getpass import getuser
|
||||
import os
|
||||
|
||||
c.JupyterHub.api_tokens = {
|
||||
os.environ['WHOAMI_HUB_API_TOKEN']: getuser(),
|
||||
}
|
Reference in New Issue
Block a user