outposts/proxy: fix proxy's TokenIntrospection potentially not being set
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
143309448e
commit
829e49275d
|
@ -35,6 +35,7 @@ func GetOIDCEndpoint(p api.ProxyOutpostConfig, authentikHost string) OIDCEndpoin
|
||||||
},
|
},
|
||||||
EndSessionEndpoint: endUrl,
|
EndSessionEndpoint: endUrl,
|
||||||
JwksUri: jwksUrl,
|
JwksUri: jwksUrl,
|
||||||
|
TokenIntrospection: p.OidcConfiguration.IntrospectionEndpoint,
|
||||||
}
|
}
|
||||||
authU, err := url.Parse(authUrl)
|
authU, err := url.Parse(authUrl)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
@ -68,6 +69,5 @@ func GetOIDCEndpoint(p api.ProxyOutpostConfig, authentikHost string) OIDCEndpoin
|
||||||
ep.AuthURL = authU.String()
|
ep.AuthURL = authU.String()
|
||||||
ep.EndSessionEndpoint = endU.String()
|
ep.EndSessionEndpoint = endU.String()
|
||||||
ep.JwksUri = jwksU.String()
|
ep.JwksUri = jwksU.String()
|
||||||
ep.TokenIntrospection = p.OidcConfiguration.IntrospectionEndpoint
|
|
||||||
return ep
|
return ep
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue