{"library":"oauthenticator","title":"OAuthenticator","description":"OAuthenticator is an authenticator plugin for JupyterHub that enables authentication via common OAuth providers (e.g., GitHub, Google, Azure AD, GitLab, etc.). It provides both generic OAuth 2.0 support and provider-specific implementations. Version 17.4.0 requires Python >=3.10. The library follows JupyterHub's release cadence, with major releases roughly yearly.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install oauthenticator","pip install oauthenticator[github,google]"],"cli":null},"imports":["from oauthenticator.github import GitHubOAuthenticator","from oauthenticator.google import GoogleOAuthenticator","from oauthenticator.generic import GenericOAuthenticator"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom jupyterhub.spawner import LocalProcessSpawner\nfrom oauthenticator.github import GitHubOAuthenticator\n\nc.JupyterHub.authenticator_class = GitHubOAuthenticator\nc.GitHubOAuthenticator.oauth_callback_url = os.environ.get('OAUTH_CALLBACK_URL', 'http://localhost:8000/hub/oauth_callback')\nc.GitHubOAuthenticator.client_id = os.environ.get('GITHUB_CLIENT_ID', '')\nc.GitHubOAuthenticator.client_secret = os.environ.get('GITHUB_CLIENT_SECRET', '')","lang":"python","description":"Minimal JupyterHub config to enable GitHub OAuth authentication. Set environment variables GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}