From e0662efa66d197ec73e32ef0a324b1452ecf9a96 Mon Sep 17 00:00:00 2001 From: Kim Tore Jensen Date: Mon, 30 Aug 2021 11:50:15 +0200 Subject: [PATCH] default zero-config ingress for testing --- pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index 933b4d4..7102100 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -76,7 +76,7 @@ func Initialize() *Config { flag.String(IDPortenPostLogoutRedirectURI, "https://nav.no", "URI for redirecting the user after successful logout at IDPorten.") flag.StringSlice(IDPortenScopes, []string{token.ScopeOpenID}, "List of scopes that should be used during the Auth Code flow.") flag.Duration(IDPortenSessionMaxLifetime, time.Hour, "Max lifetime for user sessions.") - flag.StringSlice(Ingresses, []string{""}, "Ingresses used to access the main application.") + flag.StringSlice(Ingresses, []string{"http://localhost:3000"}, "Ingresses used to access the main application.") return &Config{} }