Skip to content

Commit

Permalink
fix: make oidc_callback_host config for redirect backward compatible
Browse files Browse the repository at this point in the history
Signed-off-by: Kush Sharma <[email protected]>
  • Loading branch information
kushsharma committed Aug 2, 2023
1 parent 3850468 commit 6b32df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6b32df6

Please sign in to comment.