Skip to content

Commit

Permalink
Update changelogs/unreleased/6661-SamMHD-minor.md
Browse files Browse the repository at this point in the history
Co-authored-by: Tero Saarni <tero.saarni@est.tech>
  • Loading branch information
SamMHD and tsaarni authored Nov 18, 2024
1 parent 63f5058 commit 9506a1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions changelogs/unreleased/6661-SamMHD-minor.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Global external authorization can now be disabled by default and enabled by over
This is achieved by setting the `globalExtAuth.authPolicy.disabled` in the configuration file or `ContourConfiguration` CRD to `true`, and setting the `authPolicy.disabled` to `false` in the vhost and route level auth policies.
The final authorization state is determined by the most specific policy applied at the route level.

## Disable External Authorization in UpgradeHTTPS
## Disable External Authorization in HTTPS Upgrade

From now on, Contour will configure Envoy to handle HTTPS Redirection without authorization on routes. (previously if GlobalExtAuth was set, Envoy would check request with ext_auth before redirection which could result in 401 instead of redirection)
When external authorization is enabled, no authorization check will be performed for HTTP to HTTPS redirection.
Previously, external authorization was checked before redirection, which could result in a 401 Unauthorized error instead of a 301 Moved Permanently status code.

0 comments on commit 9506a1a

Please sign in to comment.