Extension Socialite


Extension Basics

Title
Socialite
Name
ckanext-socialite
Type
Public extension
Description
[EXPERIMENTAL] A CKAN extension to allow login using Google, Facebook, Twitter or Github.
CKAN versions
Download-Url (zip)
Last commit
8 years ago (2017-11-29 09:11:24)
Url to repo
Category
Authentication & Security


Background Infos

Description (long)
Show details

ckanext-socialite

[EXPERIMENTAL] A CKAN extension to allow login using Google, LinkedIn, Facebook or Github.

Build Status

It was noted that the CKAN Data Portal needed the new user to create a new account from within the product. As a result, it was put forward that it should allow people to login using their social media accounts. That is what this extension aims to achieve. It allows a new user to sign in using Google, Facebook, LinkedIn and Github.

How It Works

This extension adds the relevant social media buttons to the login page allowing the user to login using them.

How to Install

Installing this extension in your CKAN instance is as easy as installing any other CKAN extension.

  • Activate your virtual environment
. /usr/lib/ckan/default/bin/activate
  • Install the extension
pip install ckanext-socialite

Note: If you prefer, you can also download the source code and install the extension manually. To do so, execute the following commands:

$ git clone https://github.com/CodeForAfricaLabs/ckanext-socialite.git
$ cd ckanext-socialite
$ python setup.py install
  • Modify your configuration file (generally in /etc/ckan/default/production.ini) and add socialite in the ckan.plugins property.
ckan.plugins = <OTHER_PLUGINS> socialite
  • Restart your apache2 reserver
sudo service apache2 restart
  • Then correctly configure the extension through the instructions outlined below.

    The Configurations that have been marked as OPTIONAL do not need to be setup, rather those instructions outline how to configure the Authentication process with your own setups.

Google Configuration

In your config file (/etc/ckan/default/production.ini) add these properties:

“` ckan.googleauth_clientid = client_id_value (REQUIRED). It contains the Client ID. For more in

Version
Version release date
(not set)
Contact name
(not set)
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
OTHER_PLUGINS
CKAN Settings (ckan.ini)
# ckan.plugins = <OTHER_PLUGINS> socialite
DB migration to be executed
(not set)
<< back to Extensions