Page MenuHomeSoftware Heritage

webapp: Add keycloak configuration for production and staging
ClosedPublic

Authored by anlambert on Apr 7 2020, 6:41 PM.

Details

Summary

Until the OIDC login feature got properly tested in staging environment,
do not set keycloak server URL for production environment in order to
hide the login link in deployed web application.

Related to T2048
Related to T1927

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont added inline comments.
data/defaults.yaml
1692

isn't it better to explicit an empty string here?

# server_url: "https://%{hiera('keycloak::vhost::name')}/auth/"
server_url: ""
data/defaults.yaml
1692

Indeed. I will update the diff.

This revision is now accepted and ready to land.Apr 8 2020, 12:31 PM