What's Changed
- feat: add option to provide the secret via an environment variable by @sevensolutions in #127
- feat: simplify environment variable usage by @sevensolutions in #129
- feat: add support for default http proxy environmental variables by @mbegerau in #134
- feat: missing authorization for externally authenticated requests by @sevensolutions in #132
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