Add OAuth support
This commit adds OAuth support to authenticate with the Apertis GitLab
credentials using the FlaskDance framework.
This support requires configuring the GitLab instance to recognize the
QA Report App and the following variables need to be set in the
docker-compose file: FLASK_SECRET_KEY, GITLAB_OAUTH_CLIENT_ID and
GITLAB_OAUTH_CLIENT_SECRET.
Authentication is only enabled if the FLASK_SECRET_KEY is set.
Signed-off-by:
Luis Araujo <luis.araujo@collabora.co.uk>
Showing
Please register or sign in to comment