[![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/b1/29/deef053a0bd2b6cdd960a614926b4c91184db9ffaf68649e8bae04afb25f/fabricauthenticator-1.3.1.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.1",
"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": "dbe4ef8be16e8c5a7c39d7c95a9ac92e788db14f841e168a044177e9e886c0ed",
"md5": "4c99fef135cf1f84a4985a22e98fdab5",
"sha256": "223c778ce16e452fd516975d4f382fcccd5c2e70c0c6848b205971438fc52a0a"
},
"downloads": -1,
"filename": "fabricauthenticator-1.3.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4c99fef135cf1f84a4985a22e98fdab5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5475,
"upload_time": "2024-02-26T19:20:56",
"upload_time_iso_8601": "2024-02-26T19:20:56.868217Z",
"url": "https://files.pythonhosted.org/packages/db/e4/ef8be16e8c5a7c39d7c95a9ac92e788db14f841e168a044177e9e886c0ed/fabricauthenticator-1.3.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b129deef053a0bd2b6cdd960a614926b4c91184db9ffaf68649e8bae04afb25f",
"md5": "85ca9f56aac7ec67e9d0682540bc5c13",
"sha256": "f4e484d33dfa5dfcda061f4c9607314a3f0cfb7f82f1b8b9a87f18d3a23c6d83"
},
"downloads": -1,
"filename": "fabricauthenticator-1.3.1.tar.gz",
"has_sig": false,
"md5_digest": "85ca9f56aac7ec67e9d0682540bc5c13",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5743,
"upload_time": "2024-02-26T19:20:58",
"upload_time_iso_8601": "2024-02-26T19:20:58.198732Z",
"url": "https://files.pythonhosted.org/packages/b1/29/deef053a0bd2b6cdd960a614926b4c91184db9ffaf68649e8bae04afb25f/fabricauthenticator-1.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-26 19:20:58",
"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"
}