From 6b32df60da0d3cccb342f3abb68e5a54e0a043df Mon Sep 17 00:00:00 2001 From: Kush Sharma Date: Wed, 2 Aug 2023 17:22:38 +0530 Subject: [PATCH] fix: make oidc_callback_host config for redirect backward compatible Signed-off-by: Kush Sharma --- config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index 8cbfefea4..7b1e06712 100644 --- a/config/config.go +++ b/config/config.go @@ -68,7 +68,7 @@ func Load(serverConfigFileFromFlag string) (*Frontier, error) { } func postLoad(conf *Frontier) *Frontier { - if conf.App.Authentication.OIDCCallbackHost != "" && conf.App.Authentication.CallbackHost == "" { + if conf.App.Authentication.OIDCCallbackHost != "" { conf.App.Authentication.CallbackHost = conf.App.Authentication.OIDCCallbackHost } return conf