Skip to main content

An extension for authentication with OIDC/Keycloak

Project description

Tests

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:

  1. Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
  1. Use pip to install package
pip install ckanext-sso
  1. Add sso to the ckan.plugins setting in your CKAN    config file (by default the config file is located at    /etc/ckan/default/ckan.ini).

  2. 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

ckanext_sso-1.0.3.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ckanext_sso-1.0.3-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file ckanext_sso-1.0.3.tar.gz.

File metadata

  • Download URL: ckanext_sso-1.0.3.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ckanext_sso-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5b4c5cc0400e2e078c0555e109ecd43112963bfc8a0196a2baf34544ca73d42d
MD5 35b3b4a2ca6012bb11f3383cabb8eedd
BLAKE2b-256 77c118f62b8426c6f7cc6a96359eeab08019af2dc32ebc3aea3968500ef6735d

See more details on using hashes here.

Provenance

The following attestation bundles were made for ckanext_sso-1.0.3.tar.gz:

Publisher: pypi.yml on Mat-O-Lab/ckanext-sso

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ckanext_sso-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: ckanext_sso-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ckanext_sso-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8163a084c50b0bd63fc7ca02ed14da213be4d5d50d5fe916582a2079c9c921c8
MD5 0bccc6a8d7781b8251d13813b8b993e6
BLAKE2b-256 62008396231b03443d42033c30bf35dcd88caf4a4c400dda615bad7ab08a2269

See more details on using hashes here.

Provenance

The following attestation bundles were made for ckanext_sso-1.0.3-py3-none-any.whl:

Publisher: pypi.yml on Mat-O-Lab/ckanext-sso

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page