diff --git a/internal/outpost/proxyv2/application/oauth_test.go b/internal/outpost/proxyv2/application/oauth_test.go index 16cdfb2df..79e84382d 100644 --- a/internal/outpost/proxyv2/application/oauth_test.go +++ b/internal/outpost/proxyv2/application/oauth_test.go @@ -24,12 +24,12 @@ func TestCheckRedirectParam(t *testing.T) { assert.Equal(t, false, ok) assert.Equal(t, "", rd) - req, _ = http.NewRequest("GET", "/outpost.goauthentik.io/auth/start?rd=https://ext.t.goauthentik.io/test", nil) + req, _ = http.NewRequest("GET", "/outpost.goauthentik.io/auth/start?rd=https://ext.t.goauthentik.io/test?foo", nil) rd, ok = a.checkRedirectParam(req) assert.Equal(t, true, ok) - assert.Equal(t, "https://ext.t.goauthentik.io/test", rd) + assert.Equal(t, "https://ext.t.goauthentik.io/test?foo", rd) } func TestCheckRedirectParam_Domain(t *testing.T) { diff --git a/internal/outpost/proxyv2/application/session.go b/internal/outpost/proxyv2/application/session.go index 80b542810..8b04f1741 100644 --- a/internal/outpost/proxyv2/application/session.go +++ b/internal/outpost/proxyv2/application/session.go @@ -28,7 +28,7 @@ func (a *Application) getStore(p api.ProxyOutpostConfig) sessions.Store { rs.SetMaxAge(0) } rs.Options.Domain = *p.CookieDomain - a.log.Info("using redis session backend") + a.log.Debug("using redis session backend") store = rs } else { dir := os.TempDir() @@ -48,7 +48,7 @@ func (a *Application) getStore(p api.ProxyOutpostConfig) sessions.Store { cs.MaxAge(0) } cs.Options.Domain = *p.CookieDomain - a.log.WithField("dir", dir).Info("using filesystem session backend") + a.log.WithField("dir", dir).Debug("using filesystem session backend") store = cs } return store