Skip to content

Releases: sevensolutions/traefik-oidc-auth

v0.15.0

17 Aug 11:38
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

v0.9.0

12 Mar 17:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.8.0...v0.9.0

v0.8.0

02 Mar 14:40
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.8.0

v0.7.0

07 Feb 14:50
Compare
Choose a tag to compare

What's Changed

Breaking Changes

This release removes the option to change the session cookie name by using the SessionCookie.Name option.
Instead, the new option CookieNamePrefix can be used to specify a global prefix for all internal cookie names.
By default, the session cookie is now named TraefikOidcAuth.Session insead of Authorization which was confusing.

Full Changelog: v0.6.1...v0.7.0