Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@sevensolutions sevensolutions released this 06 Jan 09:45
· 7 commits to main since this release
a54f8fc

What's Changed

Breaking Changes

This Release contains some breaking changes.

1. The StateCookie-configuration option has been renamed to SessionCookie.
Old:

traefik-oidc-auth:
  StateCookie:
    Name: "Authorization"

New:

traefik-oidc-auth:
  SessionCookie:
    Name: "Authorization"

2. Header Configuration (MapClaims) has been changed.
Old:

Headers:
  MapClaims:
    - Header: "X-Oidc-Username"
      Claim: "preferred_username"      

New:

Headers:
  - Name: "Authorization"
    Value: "{{`Bearer {{ .accessToken }}`}}"
  - Name: "X-Oidc-Username"
    Value: "{{`{{ .claims.preferred_username }}`}}"

Please see the docs for more details. As you can see, this now also supports templating.

New Contributors

Full Changelog: v0.4.1...v0.5.0