outposts/proxy: set ValidateURL
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
3979b0bde7
commit
6064a481fb
|
@ -58,6 +58,8 @@ func (pb *providerBundle) prepareOpts(provider api.ProxyOutpostConfig) *options.
|
||||||
providerOpts.RedeemURL = provider.OidcConfiguration.TokenEndpoint
|
providerOpts.RedeemURL = provider.OidcConfiguration.TokenEndpoint
|
||||||
providerOpts.OIDCJwksURL = provider.OidcConfiguration.JwksUri
|
providerOpts.OIDCJwksURL = provider.OidcConfiguration.JwksUri
|
||||||
providerOpts.ProfileURL = provider.OidcConfiguration.UserinfoEndpoint
|
providerOpts.ProfileURL = provider.OidcConfiguration.UserinfoEndpoint
|
||||||
|
providerOpts.ValidateURL = provider.OidcConfiguration.UserinfoEndpoint
|
||||||
|
providerOpts.AcrValues = "goauthentik.io/providers/oauth2/default"
|
||||||
|
|
||||||
if *provider.SkipPathRegex != "" {
|
if *provider.SkipPathRegex != "" {
|
||||||
skipRegexes := strings.Split(*provider.SkipPathRegex, "\n")
|
skipRegexes := strings.Split(*provider.SkipPathRegex, "\n")
|
||||||
|
|
Reference in a new issue