[![PyPI](https://img.shields.io/pypi/v/fabricauthenticator?style=plastic)](https://pypi.org/project/fabricauthenticator/)
# Fabric Authenticator for Jupyterhub
The authenticator for Fabric Testbed Jupyterhub
Based on CILogon authentication, in addition it checks if user belongs to Fabric JUPYTERHUB COU group
## Usage
### If using dockerspawner:
In jupyter_config.py:
```
import fabricauthenticator
c.JupyterHub.authenticator_class = 'fabricauthenticator.FabricAuthenticator'
c.Authenticator.enable_auth_state = True
# set the OIDC client info in following CILogon configuration
c.CILogonOAuthenticator.client_id = ""
c.CILogonOAuthenticator.client_secret = ""
c.CILogonOAuthenticator.oauth_callback_url = "<host>/hub/oauth_callback"
```
### if using KubeSpawner
in config.yaml:
```
hub:
extraConfig:
authconfig: |
c.Authenticator.enable_auth_state = True
c.CILogonOAuthenticator.client_id = ""
c.CILogonOAuthenticator.client_secret = ""
c.CILogonOAuthenticator.oauth_callback_url = "<host>/hub/oauth_callback"
auth:
type: custom
custom:
className: fabricauthenticator.FabricAuthenticator
```
Raw data
{
"_id": null,
"home_page": null,
"name": "fabricauthenticator",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "Swagger, Fabric OAuth Authenticator",
"author": null,
"author_email": "Komal Thareja <kthare10@renci.org>",
"download_url": "https://files.pythonhosted.org/packages/dd/5f/babbbadb0ad1a0e6855f6640c043ad116d3672c946c6e974d0baf1beb2bd/fabricauthenticator-1.3.2.tar.gz",
"platform": null,
"description": "[![PyPI](https://img.shields.io/pypi/v/fabricauthenticator?style=plastic)](https://pypi.org/project/fabricauthenticator/)\n\n# Fabric Authenticator for Jupyterhub\n\nThe authenticator for Fabric Testbed Jupyterhub\nBased on CILogon authentication, in addition it checks if user belongs to Fabric JUPYTERHUB COU group\n\n## Usage\n### If using dockerspawner:\n\nIn jupyter_config.py:\n\n```\n import fabricauthenticator\n c.JupyterHub.authenticator_class = 'fabricauthenticator.FabricAuthenticator'\n c.Authenticator.enable_auth_state = True\n\n # set the OIDC client info in following CILogon configuration\n c.CILogonOAuthenticator.client_id = \"\"\n c.CILogonOAuthenticator.client_secret = \"\"\n c.CILogonOAuthenticator.oauth_callback_url = \"<host>/hub/oauth_callback\"\n```\n\n### if using KubeSpawner\n\nin config.yaml:\n\n```\nhub:\n extraConfig:\n authconfig: |\n c.Authenticator.enable_auth_state = True\n c.CILogonOAuthenticator.client_id = \"\"\n c.CILogonOAuthenticator.client_secret = \"\"\n c.CILogonOAuthenticator.oauth_callback_url = \"<host>/hub/oauth_callback\"\nauth:\n type: custom\n custom:\n className: fabricauthenticator.FabricAuthenticator\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Fabric OAuth Authenticator",
"version": "1.3.2",
"project_urls": {
"Home": "https://fabric-testbed.net/",
"Sources": "https://github.com/fabric-testbed/fabricauthenticator"
},
"split_keywords": [
"swagger",
" fabric oauth authenticator"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "722d22964ca5f69279672525abaa28b1cb0fe6d4afdeff2c9be72c1a72bae1e3",
"md5": "59b65202114cd7c5272bf98fd1a1f1f1",
"sha256": "75e44ead56abc7f71a2eeac87e11bba3f82796610da7adda420096262b4920ed"
},
"downloads": -1,
"filename": "fabricauthenticator-1.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "59b65202114cd7c5272bf98fd1a1f1f1",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5474,
"upload_time": "2024-06-27T18:01:05",
"upload_time_iso_8601": "2024-06-27T18:01:05.987962Z",
"url": "https://files.pythonhosted.org/packages/72/2d/22964ca5f69279672525abaa28b1cb0fe6d4afdeff2c9be72c1a72bae1e3/fabricauthenticator-1.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "dd5fbabbbadb0ad1a0e6855f6640c043ad116d3672c946c6e974d0baf1beb2bd",
"md5": "e4778e3d2ef084f03d412031c1730699",
"sha256": "be7eadc1cc6ef6ae322b9eaac05f9aa73180ac609d07cbd3c9c6d6267d6eda73"
},
"downloads": -1,
"filename": "fabricauthenticator-1.3.2.tar.gz",
"has_sig": false,
"md5_digest": "e4778e3d2ef084f03d412031c1730699",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5750,
"upload_time": "2024-06-27T18:01:08",
"upload_time_iso_8601": "2024-06-27T18:01:08.201833Z",
"url": "https://files.pythonhosted.org/packages/dd/5f/babbbadb0ad1a0e6855f6640c043ad116d3672c946c6e974d0baf1beb2bd/fabricauthenticator-1.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-27 18:01:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "fabric-testbed",
"github_project": "fabricauthenticator",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "fabricauthenticator"
}