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 <[email protected]>
  • Loading branch information
SamMHD and tsaarni authored Nov 18, 2024
1 parent 2827b9c commit 63f5058
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion changelogs/unreleased/6661-SamMHD-minor.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Disable ExtAuth by default if GlobalExtAuth.AuthPolicy.Disabled is set

Global external authorization or vhost-level authorization is enabled by default unless an AuthPolicy explicitly disables it. By default, `disabled` is set to `GlobalExtAuth.AuthPolicy.Disabled`. This global setting can be overridden by vhost-level AuthPolicy, which can further be overridden by route-specific AuthPolicy. Therefore, the final authorization state is determined by the most specific policy applied at the route level.
Global external authorization can now be disabled by default and enabled by overriding the vhost and route level auth policies.
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

Expand Down

0 comments on commit 63f5058

Please sign in to comment.