Skip to content
Snippets Groups Projects
Commit 0fea6e40 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

auth: Add OpenID Connect autentication backend and login/logout views

Add Django plumbing in swh-web to use OpenID Connect authentication layer.

It enables to securely authenticate users stored in a remote identity
and access management server implementing OpenID Connect specifications.
For the swh-web case, the open source solution Keycloak will be used.

New Django views are also introduced in order for users to login/logout
from the main HTML interface.

A custom Django User model is also used for remote users in order to
store OpenID Connect related data and avoid to save users to Django
database (those sensitive information are already securely stored in
Keycloak so there is no need to duplicate them).

Closes T2245
Closes T2246
Closes T2295
parent 571dd0d1
No related branches found
No related tags found
1 merge request!261Add OpenID Connect autentication backend and login/logout views
Showing
with 745 additions and 19 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment