WIP: Feat/add git openid login
This MR introduces a possibility to use Oauth authorization using Gitlab. The library used is Django Allauth packaged in python3-django-allauth. Our original motivation was to use the code.siemens.com (code collaboration based on Gitlab) as an authorization provider. Our infrastructure was not flexible enough to use the LDAP with LAVA, and it was decided to try to reintroduce the OpenID support (for Gitlab, but other possibilities do exis).
The Django Allauth is the (as far as we know) the only bridge between OpenID Connect and Django packaged in Debian.
Other package dependencies are dep: python3 interactive high-level object-oriented language (default python3 version)
dep: python3-django High-level Python web development framework dep: python3-openid Python3 OpenID package for modern servers and consumers dep: python3-requests elegant and simple HTTP library for Python3, built for human beings dep: python3-requests-oauthlib module providing OAuthlib auth support for requests (Python 3)
The support is enabled by setting AUTH_GITLAB_SERVER_URI and performing of the steps described in the documentation.
This MR is presented as a base for your decision, and as a start of discussion about this feature.
It's still WIP as we are testing it on our (SIEMENS) infrastructure.