From 829e49275d26a0078cdfc633567288bf37e01831 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 14 Jan 2023 20:54:34 +0100 Subject: [PATCH] outposts/proxy: fix proxy's TokenIntrospection potentially not being set Signed-off-by: Jens Langhammer --- internal/outpost/proxyv2/application/endpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/outpost/proxyv2/application/endpoint.go b/internal/outpost/proxyv2/application/endpoint.go index 55c623d25..44b2713df 100644 --- a/internal/outpost/proxyv2/application/endpoint.go +++ b/internal/outpost/proxyv2/application/endpoint.go @@ -35,6 +35,7 @@ func GetOIDCEndpoint(p api.ProxyOutpostConfig, authentikHost string) OIDCEndpoin }, EndSessionEndpoint: endUrl, JwksUri: jwksUrl, + TokenIntrospection: p.OidcConfiguration.IntrospectionEndpoint, } authU, err := url.Parse(authUrl) if err != nil { @@ -68,6 +69,5 @@ func GetOIDCEndpoint(p api.ProxyOutpostConfig, authentikHost string) OIDCEndpoin ep.AuthURL = authU.String() ep.EndSessionEndpoint = endU.String() ep.JwksUri = jwksU.String() - ep.TokenIntrospection = p.OidcConfiguration.IntrospectionEndpoint return ep }