AlekSIS
AlekSIS

Social accounts

AlekSIS can authenticate users against third party applications using OAuth2 or OpenID.

Warning

Social accounts are not working with two factor authentication! If a user authenticates with a social account, the two factor authentication is ignored on login (but enforced for views that require two factor authentication later).

Configuring social account provider

For available providers, see documentation of django-allauth.

A new social account provider can be configured in your configuration file (located in /etc/aleksis/).

Configuration example:

[auth.providers.gitlab]
GITLAB_URL = "https://gitlab.exmaple.com"

After configuring a new auth provider, you have to restart AlekSIS and configure client id and secret in the Backend Admin interface. Click “Social applications” and add a new application. Choose your provider and enter client id and secret from your application and choose your site:

Create social application