normalize web

This commit is contained in:
A.Unger
2021-11-08 12:29:59 +01:00
parent b1de937c05
commit 185cee04e9
4 changed files with 21 additions and 84 deletions
-3
View File
@@ -30,9 +30,6 @@ func Server(cfg *config.Config) *cli.Command {
return err
}
logger := NewLogger(cfg)
logger.Debug().Str("service", "web").Msg("ignoring config file parsing when running supervised")
// build well known openid-configuration endpoint if it is not set
if cfg.Web.Config.OpenIDConnect.MetadataURL == "" {
cfg.Web.Config.OpenIDConnect.MetadataURL = strings.TrimRight(cfg.Web.Config.OpenIDConnect.Authority, "/") + "/.well-known/openid-configuration"