github sevensolutions/traefik-oidc-auth v0.5.0

4 days ago

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

Don't miss a new traefik-oidc-auth release

NewReleases is sending notifications on new releases.