From 6064a481fb59efcbfe8569950f6a02780e8db86c Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 1 Jul 2021 15:42:48 +0200 Subject: [PATCH] outposts/proxy: set ValidateURL Signed-off-by: Jens Langhammer --- outpost/pkg/proxy/api_bundle.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/outpost/pkg/proxy/api_bundle.go b/outpost/pkg/proxy/api_bundle.go index 463072522..0081b80b9 100644 --- a/outpost/pkg/proxy/api_bundle.go +++ b/outpost/pkg/proxy/api_bundle.go @@ -58,6 +58,8 @@ func (pb *providerBundle) prepareOpts(provider api.ProxyOutpostConfig) *options. providerOpts.RedeemURL = provider.OidcConfiguration.TokenEndpoint providerOpts.OIDCJwksURL = provider.OidcConfiguration.JwksUri providerOpts.ProfileURL = provider.OidcConfiguration.UserinfoEndpoint + providerOpts.ValidateURL = provider.OidcConfiguration.UserinfoEndpoint + providerOpts.AcrValues = "goauthentik.io/providers/oauth2/default" if *provider.SkipPathRegex != "" { skipRegexes := strings.Split(*provider.SkipPathRegex, "\n")