Skip to content

Releases: sevensolutions/traefik-oidc-auth

v0.18.0

08 Feb 12:13

Choose a tag to compare

What's Changed

  • deps: bump react from 19.1.0 to 19.2.1 by @baarde in #238
  • docs: remove obsolete info for keycloak about audience configuration by @sevensolutions in #242
  • fix: fix a possible nil reference when refreshing the token #234 by @sevensolutions in #250
  • feat: add support for RFC 8707 resource indicators by @sevensolutions in #251
  • fix: also use jwks keys without "use" field by @bkw in #254
  • feat: allow multiple header values in upstream headers configuration by @Prototik in #252
  • chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.3.0 to 5.3.1 by @dependabot[bot] in #253

New Contributors

Full Changelog: v0.17.0...v0.18.0

v0.17.0

15 Nov 09:24

Choose a tag to compare

What's Changed

New Contributors

  • @fty4 made their first contribution in #217

Full Changelog: v0.16.0...v0.17.0

v0.16.0

12 Sep 14:41

Choose a tag to compare

What's Changed

Breaking Changes

This release changes the default value of the UnauthorizedBehavior option to the new Auto value.
This means that unauthorized requests will now get a response according to the sent Accept header.

New Contributors

Full Changelog: v0.15.0...v0.16.0

v0.15.0

17 Aug 11:38

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.14.0...v0.15.0

v0.14.0

02 Aug 12:26

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

04 Jul 14:07

Choose a tag to compare

What's Changed

Breaking Changes

Starting with version 0.13.0 the plugin will use the IdToken by default for validation.
Make sure all your required claims are mapped into the IdToken.
If you still want to use the AccessToken, configure TokenValidation: "AccessToken" in the provider config.

When using the redirect_uri query parameter of the /login or /logout endpoints you now need to allow the needed urls explicitly by specifying ValidPostLoginRedirectUris and/or ValidPostLogoutRedirectUris.

New Contributors

Full Changelog: v0.12.0...v0.13.0

v0.12.0

06 Jun 07:54

Choose a tag to compare

What's Changed

Breaking Changes

There is a small breaking change.
When users are authenticated but unauthorized, because of your authorization config, the returned status code will now be a 403 (Forbidden) instead of a 401 (Unauthorized).
According to the standard a 403 is more appropriate for this case.

So this means:

Action Returned Status Code
User is not logged in 401 Unauthorized
User is logged in but not authorized 403 Forbidden
User is logged in and authorized 200 or whatever the upstream service is returning

New Contributors

Full Changelog: v0.11.0...v0.12.0

v0.11.0

02 May 16:48

Choose a tag to compare

What's Changed

Attention: Breaking Changes

Versions up to including 0.10.1 had separate configuration variables to specify parameters by using environment variables. These were suffixed using Env. Eg. UrlEnv, ClientIdEnv etc.
In version 0.11.0 these extra variables have been removed.
Instead you can now provide the environment variable name by using the normal property like Url or ClientId, etc. in the form ${VARIABLE_NAME}.
Please note that this looks like it would support templating but it does not at the moment. So only a single variable name can be used.

Migration path

Old:

middlewares:
    oidc-auth:
      plugin:
        traefik-oidc-auth:
          Provider:
            UrlEnv: "PROVIDER_URL"
            ClientIdEnv: "CLIENT_ID"
            ClientSecretEnv: "CLIENT_SECRET"

New:

middlewares:
    oidc-auth:
      plugin:
        traefik-oidc-auth:
          Provider:
            Url: "${PROVIDER_URL}"
            ClientId: "${CLIENT_ID}"
            ClientSecret: "${CLIENT_SECRET}"

Plase see the docs for more details.

New Contributors

Full Changelog: v0.10.1...v0.11.0

v0.10.1

07 Apr 16:05
956324f

Choose a tag to compare

What's Changed

  • fix: #124: IdToken wasn't stored after renewing the session. This was problematic when using Provider.TokenValidation = IdToken. by @sevensolutions in #125

Full Changelog: v0.10.0...v0.10.1

v0.10.0

29 Mar 09:43

Choose a tag to compare

What's Changed

  • docs: Improve documentation for logout and authorization by @sevensolutions in #119
  • feat: Make PostLoginRedirectUri to support absolute uri by @jvitor83 in #122

New Contributors

Full Changelog: v0.9.0...v0.10.0