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
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 11656
Build 17680: arc lint + arc unit

Event Timeline

ardumont added inline comments.
data/defaults.yaml
1693

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

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

Indeed. I will update the diff.

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