Page MenuHomeSoftware Heritage

templates/layout: Fallback to django auth when keycloak is not used
ClosedPublic

Authored by anlambert on Mar 9 2021, 6:42 PM.

Details

Summary

This restores the login link to use basic django authentication when
Keycloak is not used, for instance in the docker environment.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D5223 (id=18710)

Rebasing onto 83ecdb860d...

Current branch diff-target is up to date.
Changes applied before test
commit 20da34e958562d89804396919948e095b5824989
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Mar 9 18:39:37 2021 +0100

    templates/layout: Fallback to django auth when keycloak is not used
    
    This restores the login link to use basic django authentication when
    Keycloak is not used, for instance in the docker environment.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/619/ for more details.

This revision is now accepted and ready to land.Mar 10 2021, 9:23 AM