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.
CKAN version | Compatible? |
---|---|
2.9 and earlier | not tested |
2.10 | yes |
2.11 | yes |
- 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.
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
sso
to theckan.plugins
setting 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
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]
After installing the extension and configuring the settings, you can now log in to CKAN using your SSO credentials.
Contributions are welcome! Please read our contributing guide to learn more.
This project is licensed under the terms of the MIT License.
The authors would like to thank the developers of the original project https://github.com/dathere/ckanext-sso.