feedback in README

This commit is contained in:
Min RK
2018-02-23 13:44:07 +01:00
parent 6970df4dda
commit 079b0c1b91

View File

@@ -1,11 +1,13 @@
# Using JupyterHub as an OAuth provider # Using JupyterHub as an OAuth provider
JupyterHub 0.9 introduces JupyterHub 0.9 introduces the ability to use JupyterHub as an OAuth provider
Uses `jupyterhub.services.HubAuthenticated` to authenticate requests with the Hub. for external services that may not be otherwise integrated with JupyterHub.
The main feature this enables is using JupyterHub like a 'regular' OAuth 2
provider for services running anywhere.
There is an implementation each of cookie-based `HubAuthenticated` and OAuth-based `HubOAuthenticated`. This example uses `jupyterhub.services.HubOAuthenticated` to authenticate requests with the Hub for a service run on its own host.
## Run ## Run the example
1. generate an API token: 1. generate an API token:
@@ -17,6 +19,8 @@ There is an implementation each of cookie-based `HubAuthenticated` and OAuth-bas
3. Launch JupyterHub: 3. Launch JupyterHub:
jupyterhub
4. Visit http://127.0.0.1:5555/ 4. Visit http://127.0.0.1:5555/
After logging in with your local-system credentials, you should see a JSON dump of your user info: After logging in with your local-system credentials, you should see a JSON dump of your user info: