diff --git a/jupyterhub/app.py b/jupyterhub/app.py index e1610211..2e883441 100644 --- a/jupyterhub/app.py +++ b/jupyterhub/app.py @@ -453,7 +453,7 @@ class JupyterHub(Application): { 'name': 'formgrader', 'url': 'http://127.0.0.1:1234', - 'token': 'super-secret', + 'api_token': 'super-secret', 'environment': } ] diff --git a/jupyterhub/services/service.py b/jupyterhub/services/service.py index 6f6ad79c..207088d7 100644 --- a/jupyterhub/services/service.py +++ b/jupyterhub/services/service.py @@ -27,7 +27,7 @@ An externally managed service running on a URL:: 'name': 'my-service', 'url': 'https://host:8888', 'admin': True, - 'token': 'super-secret', + 'api_token': 'super-secret', } A hub-managed service with no URL: