An extension for authentication with OIDC/Keycloak
Project description
ckanext-sso
Introduction
ckanext-sso is an extension for CKAN, a powerful data management system that makes data accessible and usable. This extension provides Single Sign-On (SSO) capabilities, allowing users to log in to CKAN using various SSO providers.
Compatibility with core CKAN versions
| CKAN version | Compatible? |
|---|---|
| 2.9 and earlier | not tested |
| 2.10 | yes |
| 2.11 | yes |
Features
- SSO Integration: Seamlessly integrate with popular SSO providers.
- Easy Configuration: Simple setup to connect with your existing SSO system.
- Enhanced Security: Leverage SSO for a secure authentication experience.
Installation
To install the extension:
- Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
- Use pip to install package
pip install ckanext-sso
-
Add
ssoto theckan.pluginssetting in your CKAN config file (by default the config file is located at/etc/ckan/default/ckan.ini). -
Restart CKAN. For example, if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Configuration
ckan.plugins = sso {OTHER PLUGINS}
## ckanext-sso
ckanext.sso.authorization_endpoint = [authorization_endpoint]
ckanext.sso.client_id = [client_id]
ckanext.sso.redirect_url = [https://myckansite.com/dashboard]
ckanext.sso.client_secret = [client_secret]
ckanext.sso.response_type = [code]
ckanext.sso.scope = [openid profile email]
ckanext.sso.access_token_url = [access_token_url]
ckanext.sso.user_info = [user_info_url]
ckanext.sso.disable_ckan_login = [True|False]
Usage
After installing the extension and configuring the settings, you can now log in to CKAN using your SSO credentials.
Contributing
Contributions are welcome! Please read our contributing guide to learn more.
License
This project is licensed under the terms of the MIT License.
Acknowledgments
The authors would like to thank the developers of the original project https://github.com/dathere/ckanext-sso.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ckanext_sso-1.0.4.tar.gz.
File metadata
- Download URL: ckanext_sso-1.0.4.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edecc1ef674f1a966c9baed32d906bdf779d1440c7fad85748503b2dd95e881e
|
|
| MD5 |
96e94a376f8a623f41d2aca01aa3d94d
|
|
| BLAKE2b-256 |
0baeb20673e83f92c80ee3a15c6e50b92271f32cc98127c5330bab520aa93848
|
Provenance
The following attestation bundles were made for ckanext_sso-1.0.4.tar.gz:
Publisher:
pypi.yml on Mat-O-Lab/ckanext-sso
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ckanext_sso-1.0.4.tar.gz -
Subject digest:
edecc1ef674f1a966c9baed32d906bdf779d1440c7fad85748503b2dd95e881e - Sigstore transparency entry: 213984567
- Sigstore integration time:
-
Permalink:
Mat-O-Lab/ckanext-sso@a9a9f253cd7b934ab0292e6c7db7fbc5e4d0067e -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/Mat-O-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@a9a9f253cd7b934ab0292e6c7db7fbc5e4d0067e -
Trigger Event:
release
-
Statement type:
File details
Details for the file ckanext_sso-1.0.4-py3-none-any.whl.
File metadata
- Download URL: ckanext_sso-1.0.4-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb8987eab82bf1d9d9af24efee8999d6bab568726a1c77eaa01c1c0d31c4b637
|
|
| MD5 |
30ba82b8a26d867b95525eb426210587
|
|
| BLAKE2b-256 |
e8d6204a345ccb78dd2a236b334eeeb834a7831a6dd3812c03afca646bcb04a6
|
Provenance
The following attestation bundles were made for ckanext_sso-1.0.4-py3-none-any.whl:
Publisher:
pypi.yml on Mat-O-Lab/ckanext-sso
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ckanext_sso-1.0.4-py3-none-any.whl -
Subject digest:
fb8987eab82bf1d9d9af24efee8999d6bab568726a1c77eaa01c1c0d31c4b637 - Sigstore transparency entry: 213984573
- Sigstore integration time:
-
Permalink:
Mat-O-Lab/ckanext-sso@a9a9f253cd7b934ab0292e6c7db7fbc5e4d0067e -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/Mat-O-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@a9a9f253cd7b934ab0292e6c7db7fbc5e4d0067e -
Trigger Event:
release
-
Statement type: