mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-20 01:58:10 +02:00
Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
This commit is contained in:
parent
0752e5dc35
commit
cb02622dae
2 changed files with 18 additions and 1 deletions
|
@ -31,7 +31,7 @@ func NewHeadersRequestFromPolicy(policy *config.Policy) *HeadersRequest {
|
|||
}
|
||||
input.KubernetesServiceAccountToken = policy.KubernetesServiceAccountToken
|
||||
for _, wu := range policy.To {
|
||||
input.ToAudience = wu.URL.Hostname()
|
||||
input.ToAudience = "https://" + wu.URL.Hostname()
|
||||
}
|
||||
return input
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue