mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-07 10:04:07 +00:00
add whoami-oauth-basic example
implements oauth without inheriting from HubOAuthenticated should be easier to parse for users with alternate oauth implementations
This commit is contained in:
@@ -7,6 +7,7 @@ if not api_token:
|
||||
raise ValueError("Make sure to `export JUPYTERHUB_API_TOKEN=$(openssl rand -hex 32)`")
|
||||
|
||||
# tell JupyterHub to register the service as an external oauth client
|
||||
|
||||
c.JupyterHub.services = [
|
||||
{
|
||||
'name': 'external-oauth',
|
||||
|
Reference in New Issue
Block a user