2018-11-27 14:23:37 +03:00
# Vx.x.x (Pre-release)
2020-05-06 21:00:12 +03:00
## Release Highlights
2020-01-29 14:52:32 +03:00
2020-03-29 15:03:08 +03:00
## Important Notes
2020-07-13 22:56:05 +03:00
- [#632 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/632 ) There is backwards compatibility to sessions from v5
- Any unencrypted sessions from before v5 that only contained a Username & Email will trigger a reauthentication
2020-06-27 14:05:26 +03:00
## Breaking Changes
## Changes since v6.0.0
2020-08-11 01:11:38 +03:00
- [#719 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/719 ) Add Gosec fixes to areas that are intermittently flagged on PRs (@NickMeves)
2020-08-10 13:44:08 +03:00
- [#718 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/718 ) Allow Logging to stdout with separate Error Log Channel
2020-07-20 08:24:18 +03:00
- [#690 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/690 ) Address GoSec security findings & remediate (@NickMeves)
2020-07-20 00:20:20 +03:00
- [#689 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/689 ) Fix finicky logging_handler_test from time drift (@NickMeves)
2020-07-22 08:09:31 +03:00
- [#699 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/699 ) Align persistence ginkgo tests with conventions (@NickMeves)
2020-07-21 18:38:13 +03:00
- [#696 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/696 ) Preserve query when building redirect
2020-05-25 15:08:04 +03:00
- [#561 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/561 ) Refactor provider URLs to package level vars (@JoelSpeed)
2020-07-19 23:25:13 +03:00
- [#682 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/682 ) Refactor persistent session store session ticket management (@NickMeves)
2020-07-18 22:29:39 +03:00
- [#688 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/688 ) Refactor session loading to make use of middleware pattern (@JoelSpeed)
2020-07-17 00:44:00 +03:00
- [#593 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/593 ) Integrate upstream package with OAuth2 Proxy (@JoelSpeed)
2020-07-18 12:23:50 +03:00
- [#687 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/687 ) Refactor HTPasswd Validator (@JoelSpeed)
2020-07-15 01:46:44 +03:00
- [#624 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/624 ) Allow stripping authentication headers from whitelisted requests with `--skip-auth-strip-headers` (@NickMeves)
2020-07-15 01:02:10 +03:00
- [#673 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/673 ) Add --session-cookie-minimal option to create session cookies with no tokens (@NickMeves)
2020-07-13 22:56:05 +03:00
- [#632 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/632 ) Reduce session size by encoding with MessagePack and using LZ4 compression (@NickMeves)
2020-07-12 18:09:34 +03:00
- [#675 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/675 ) Fix required ruby version and deprecated option for building docs (@mkontani)
2020-07-07 11:53:32 +03:00
- [#669 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/669 ) Reduce docker context to improve build times (@JoelSpeed)
2020-07-07 11:55:38 +03:00
- [#668 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/668 ) Use req.Host in --force-https when req.URL.Host is empty (@zucaritask)
2020-07-05 11:52:36 +03:00
- [#660 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/660 ) Use builder pattern to simplify requests to external endpoints (@JoelSpeed)
2020-07-05 12:22:24 +03:00
- [#591 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/591 ) Introduce upstream package with new reverse proxy implementation (@JoelSpeed)
2020-05-31 17:17:51 +03:00
- [#576 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/576 ) Separate Cookie validation out of main options validation (@JoelSpeed)
2020-07-04 06:31:12 +03:00
- [#656 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/656 ) Split long session cookies more precisely (@NickMeves)
2020-06-12 20:18:41 +03:00
- [#619 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/619 ) Improve Redirect to HTTPs behaviour (@JoelSpeed)
2020-07-03 17:24:57 +03:00
- [#654 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/654 ) Close client connections after each redis test (@JoelSpeed)
2020-05-10 18:59:17 +03:00
- [#542 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/542 ) Move SessionStore tests to independent package (@JoelSpeed)
2020-05-31 16:27:51 +03:00
- [#577 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/577 ) Move Cipher and Session Store initialisation out of Validation (@JoelSpeed)
2020-07-03 18:09:17 +03:00
- [#635 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/635 ) Support specifying alternative provider TLS trust source(s) (@k-wall)
2020-07-06 04:39:06 +03:00
- [#649 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/650 ) Resolve an issue where an empty healthcheck URL and ping-user-agent returns the healthcheck response (@jordancrawfordnz)
2020-07-06 13:09:02 +03:00
- [#662 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/662 ) Do not add Cache-Control header to response from auth only endpoint (@johejo)
2020-07-11 13:14:12 +03:00
- [#552 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/522 ) Implements --trusted-ip option to allow clients behind specified IPs or CIDR ranges to bypass authentication (@Izzette)
2020-05-31 16:27:51 +03:00
2020-06-27 14:05:26 +03:00
# v6.0.0
## Release Highlights
- Migrated to an independent GitHub organisation
- Added local test environment examples using docker-compose and kind
- Error pages will now be rendered when upstream connections fail
- Non-Existent options in config files will now return errors on startup
- Sessions are now always encrypted, independent of configuration
## Important Notes
- (Security) Fix for [open redirect vulnerability ](https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5m6c-jp6f-2vcv ).
- More invalid redirects that lead to open-redirects were reported
- An extensive test suite has been added to prevent future regressions
2020-04-09 17:39:07 +03:00
- [#453 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/453 ) Responses to endpoints with a proxy prefix will now return headers for preventing browser caching.
2020-03-29 15:03:08 +03:00
## Breaking Changes
2020-05-06 21:00:12 +03:00
- [#464 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/464 ) Migration from Pusher to independent org may have introduced breaking changes for your environment.
2020-03-29 18:24:41 +03:00
- See the changes listed below for PR [#464 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/464 ) for full details
- Binaries renamed from `oauth2_proxy` to `oauth2-proxy`
2020-05-06 21:00:12 +03:00
- [#440 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/440 ) Switch Azure AD Graph API to Microsoft Graph API
2020-04-12 16:00:59 +03:00
- The Azure AD Graph API has been [deprecated ](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-graph-api ) and is being replaced by the Microsoft Graph API.
2020-05-06 21:00:12 +03:00
If your application relies on the access token being passed to it to access the Azure AD Graph API, you should migrate your application to use the Microsoft Graph API.
Existing behaviour can be retained by setting `-resource=https://graph.windows.net` .
2020-04-12 16:00:59 +03:00
- [#484 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/484 ) Configuration loading has been replaced with Viper and PFlag
- Flags now require a `--` prefix before the option
- Previously flags allowed either `-` or `--` to prefix the option name
- Eg `-provider` must now be `--provider`
2020-05-06 21:00:12 +03:00
- [#487 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/487 ) Switch flags to StringSlice instead of StringArray
2020-05-03 18:55:20 +03:00
- Options that take multiple arguments now split strings on commas if present
- Eg `--foo=a,b,c,d` would result in the values `a` , `b` , `c` and `d` instead of a single `a,b,c,d` value as before
2020-05-10 12:09:53 +03:00
- [#535 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/535 ) Drop support for pre v3.1 cookies
- The encoding for session cookies was changed starting in v3.1.0, support for the previous encoding is now dropped
- If you are upgrading from a version earlier than this, please upgrade via a version between v3.1.0 and v5.1.1
2020-05-12 18:04:51 +03:00
- [#537 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/537 ) Drop Fallback to Email if User not set
- Previously, when a session was loaded, if the User was not set, it would be replaced by the Email.
This behaviour was inconsistent as it required the session to be stored and then loaded to function properly.
- This behaviour has now been removed and the User field will remain empty if it was not set when the session was saved.
- In some scenarios `X-Forwarded-User` will now be empty. Use `X-Forwarded-Email` instead.
- In some scenarios, this may break setting Basic Auth on upstream or responses.
Use `--prefer-email-to-user` to restore falling back to the Email in these cases.
2020-05-21 21:29:45 +03:00
- [#556 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/556 ) Remove unintentional auto-padding of secrets that were too short
- Previously, after cookie-secrets were opportunistically base64 decoded to raw bytes,
they were padded to have a length divisible by 4.
- This led to wrong sized secrets being valid AES lengths of 16, 24, or 32 bytes. Or it led to confusing errors
reporting an invalid length of 20 or 28 when the user input cookie-secret was not that length.
- Now we will only base64 decode a cookie-secret to raw bytes if it is 16, 24, or 32 bytes long. Otherwise, we will convert
the direct cookie-secret to bytes without silent padding added.
2020-05-24 22:19:56 +03:00
- [#412 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/412 )/[#559](https://github.com/oauth2-proxy/oauth2-proxy/pull/559) Allow multiple cookie domains to be specified
- Multiple cookie domains may now be configured. The longest domain that matches will be used.
- The config options `cookie_domain` is now `cookie_domains`
- The environment variable `OAUTH2_PROXY_COOKIE_DOMAIN` is now `OAUTH2_PROXY_COOKIE_DOMAINS`
2020-02-24 14:23:35 +03:00
- [#414 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/414 ) Always encrypt sessions regardless of config
- Previously, sessions were encrypted only when certain options were configured.
This lead to confusion and misconfiguration as it was not obvious when a session should be encrypted.
- Cookie Secrets must now be 16, 24 or 32 bytes.
- If you need to change your secret, this will force users to reauthenticate.
2020-05-12 02:59:49 +03:00
- [#548 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/548 ) Separate logging options out of main options structure
- Fixes an inconsistency in the `--exclude-logging-paths` option by renaming it to `--exclude-logging-option` .
- This flag may now be given multiple times as with other list options
- This flag also accepts comma separated values
2020-06-27 01:26:07 +03:00
- [#639 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/639 ) Change how gitlab-group is parsed on options
- Previously, the flag gitlab-group used comma seperated values, while the config option used space seperated values.
- This fixes the config value to use slices internally.
- The config option `gitlab_group` is now `gitlab_groups`
- The environment variable `OAUTH2_PROXY_GITLAB_GROUP` is now `OAUTH2_PROXY_GITLAB_GROUPS`
2020-04-12 13:53:30 +03:00
2020-05-06 21:00:12 +03:00
## Changes since v5.1.1
2020-05-23 20:49:09 +03:00
2020-06-27 14:05:26 +03:00
- [GHSA-5m6c-jp6f-2vcv ](https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5m6c-jp6f-2vcv ) New OpenRedirect cases have been found (@JoelSpeed)
2020-06-27 01:26:07 +03:00
- [#639 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/639 ) Change how gitlab-group is parsed on options (@linuxgemini)
2020-06-17 00:39:11 +03:00
- [#615 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/615 ) Kubernetes example based on Kind cluster and Nginx ingress (@EvgeniGordeev)
2020-06-01 18:56:50 +03:00
- [#596 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/596 ) Validate Bearer IDTokens in headers with correct provider/extra JWT Verifier (@NickMeves)
2020-06-14 23:06:14 +03:00
- [#620 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/620 ) Add HealthCheck middleware (@JoelSpeed)
2020-05-31 17:32:07 +03:00
- [#597 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/597 ) Don't log invalid redirect if redirect is empty (@JoelSpeed)
2020-06-14 16:06:12 +03:00
- [#604 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/604 ) Add Keycloak local testing environment (@EvgeniGordeev)
2020-06-02 02:19:27 +03:00
- [#539 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/539 ) Refactor encryption ciphers and add AES-GCM support (@NickMeves)
2020-06-02 22:53:33 +03:00
- [#601 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/601 ) Ensure decrypted user/email are valid UTF8 (@JoelSpeed)
2020-06-04 19:41:29 +03:00
- [#560 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/560 ) Fallback to UserInfo is User ID claim not present (@JoelSpeed)
2020-06-02 20:17:27 +03:00
- [#598 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/598 ) acr_values no longer sent to IdP when empty (@ScottGuymer)
2020-05-12 02:59:49 +03:00
- [#548 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/548 ) Separate logging options out of main options structure (@JoelSpeed)
2020-06-12 16:56:31 +03:00
- [#567 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/567 ) Allow health/ping request to be identified via User-Agent (@chkohner)
2020-05-30 10:53:38 +03:00
- [#536 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/536 ) Improvements to Session State code (@JoelSpeed)
2020-05-27 20:40:50 +03:00
- [#573 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/573 ) Properly parse redis urls for cluster and sentinel connections (@amnay-mo)
2020-05-24 23:09:00 +03:00
- [#574 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/574 ) render error page on 502 proxy status (@amnay-mo)
2020-05-24 22:19:56 +03:00
- [#559 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/559 ) Rename cookie-domain config to cookie-domains (@JoelSpeed)
2020-05-24 19:12:28 +03:00
- [#569 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/569 ) Updated autocompletion for `--` long options. (@Izzette)
2020-05-23 20:49:09 +03:00
- [#489 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/489 ) Move Options and Validation to separate packages (@JoelSpeed)
2020-05-21 21:29:45 +03:00
- [#556 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/556 ) Remove unintentional auto-padding of secrets that were too short (@NickMeves)
2020-05-14 12:16:35 +03:00
- [#538 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/538 ) Refactor sessions/utils.go functionality to other areas (@NickMeves)
2020-05-12 20:41:25 +03:00
- [#503 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/503 ) Implements --real-client-ip-header option to select the header from which to obtain a proxied client's IP (@Izzette)
2020-05-10 17:39:48 +03:00
- [#529 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/529 ) Add local test environments for testing changes and new features (@JoelSpeed)
2020-05-12 18:04:51 +03:00
- [#537 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/537 ) Drop Fallback to Email if User not set (@JoelSpeed)
2020-05-10 12:09:53 +03:00
- [#535 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/535 ) Drop support for pre v3.1 cookies (@JoelSpeed)
2020-05-10 09:29:37 +03:00
- [#533 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/487 ) Set up code coverage within Travis for Code Climate (@JoelSpeed)
2020-06-27 14:05:26 +03:00
- [#514 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/514 ) Add basic string functions to templates (@n-i-x)
2020-05-06 04:41:48 +03:00
- [#524 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/524 ) Sign cookies with SHA256 (@NickMeves)
2020-05-09 18:07:46 +03:00
- [#515 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/515 ) Drop configure script in favour of native Makefile env and checks (@JoelSpeed)
2020-05-05 18:53:33 +03:00
- [#519 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/519 ) Support context in providers (@johejo)
2020-05-03 18:55:20 +03:00
- [#487 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/487 ) Switch flags to PFlag to remove StringArray (@JoelSpeed)
2020-04-12 16:00:59 +03:00
- [#484 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/484 ) Replace configuration loading with Viper (@JoelSpeed)
2020-05-06 21:00:12 +03:00
- [#499 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/499 ) Add `-user-id-claim` to support generic claims in addition to email (@holyjak)
2020-04-14 11:36:44 +03:00
- [#486 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/486 ) Add new linters (@johejo)
2020-04-12 13:53:30 +03:00
- [#440 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/440 ) Switch Azure AD Graph API to Microsoft Graph API (@johejo)
2020-04-09 17:39:07 +03:00
- [#453 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/453 ) Prevent browser caching during auth flow (@johejo)
2020-04-19 14:19:21 +03:00
- [#467 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/467 ) Allow OIDC issuer verification to be skipped (@chkohner)
2020-04-08 23:28:00 +03:00
- [#481 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/481 ) Update Okta docs (@trevorbox)
2020-04-06 11:27:24 +03:00
- [#474 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/474 ) Always log hasMember request error object (@jbielick)
2020-04-04 18:12:38 +03:00
- [#468 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/468 ) Implement graceful shutdown and propagate request context (@johejo)
2020-03-29 18:24:41 +03:00
- [#464 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/464 ) Migrate to oauth2-proxy/oauth2-proxy (@JoelSpeed)
- Project renamed from `pusher/oauth2_proxy` to `oauth2-proxy`
- Move Go import path from `github.com/pusher/oauth2_proxy` to `github.com/oauth2-proxy/oauth2-proxy`
- Remove Pusher Cloud Team from CODEOWNERS
- Release images moved to `quay.io/oauth2-proxy/oauth2-proxy`
- Binaries renamed from `oauth2_proxy` to `oauth2-proxy`
2020-03-03 15:11:12 +03:00
- [#432 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/432 ) Update ruby dependencies for documentation (@theobarberbany)
2020-04-02 11:51:38 +03:00
- [#471 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/471 ) Add logging in case of invalid redirects (@gargath)
2020-05-06 21:00:12 +03:00
- [#462 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/462 ) Allow HTML in banner message (@eritikass)
- [#412 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/412 ) Allow multiple cookie domains to be specified (@edahlseng)
- [#413 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/413 ) Add -set-basic-auth param to set the Basic Authorization header for upstreams (@morarucostel)
2020-04-10 16:25:23 +03:00
- [#483 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/483 ) Warn users when session cookies are split (@JoelSpeed)
2020-04-13 16:54:53 +03:00
- [#488 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/488 ) Set-Basic-Auth should default to false (@JoelSpeed)
2020-05-06 21:00:12 +03:00
- [#494 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/494 ) Upstream websockets TLS certificate validation now depends on ssl-upstream-insecure-skip-verify (@yaroslavros)
2020-05-11 20:02:40 +03:00
- [#497 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/497 ) Restrict access using Github collaborators (@jsclayton)
2020-02-24 14:23:35 +03:00
- [#414 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/414 ) Always encrypt sessions regardless of config (@ti-mo)
2020-06-01 22:02:07 +03:00
- [#421 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/421 ) Allow logins by usernames even if they do not belong to the specified org and team or collaborators (@yyoshiki41)
2020-05-06 21:00:12 +03:00
# v5.1.1
## Release Highlights
N/A
## Important Notes
- (Security) Fix for [open redirect vulnerability ](https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-j7px-6hwj-hpjg ).
- A bad actor using encoded whitespace in redirect URIs can redirect a session to another domain
## Breaking Changes
N/A
## Changes since v5.1.0
- [GHSA-j7px-6hwj-hpjg ](https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-j7px-6hwj-hpjg ) Fix Open Redirect Vulnerability with encoded Whitespace characters (@JoelSpeed)
2020-03-29 18:24:41 +03:00
2020-03-29 15:03:08 +03:00
# v5.1.0
2020-05-06 21:00:12 +03:00
## Release Highlights
2020-03-29 15:03:08 +03:00
- Bump to Go 1.14
- Reduced number of Google API requests for group validation
- Support for Redis Cluster
- Support for overriding hosts in hosts file
2020-01-29 14:52:32 +03:00
## Important Notes
2020-02-28 12:59:27 +03:00
- [#335] The session expiry for the OIDC provider is now taken from the Token Response (expires_in) rather than from the id_token (exp)
2020-01-29 14:52:32 +03:00
## Breaking Changes
2020-03-29 15:03:08 +03:00
N/A
2020-01-29 14:52:32 +03:00
## Changes since v5.0.0
2020-03-29 16:54:36 +03:00
- [#450 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/450 ) Fix http.Cookie SameSite is not copied (@johejo)
- [#445 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/445 ) Expose `acr_values` to all providers (@holyjak)
- [#419 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/419 ) Support Go 1.14, upgrade dependencies, upgrade golangci-lint to 1.23.6 (@johejo)
- [#444 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/444 ) Support prompt in addition to approval-prompt (@holyjak)
- [#435 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/435 ) Fix issue with group validation calling google directory API on every HTTP request (@ericofusco)
- [#400 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/400 ) Add `nsswitch.conf` to Docker image to allow hosts file to work (@luketainton)
- [#385 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/385 ) Use the `Authorization` header instead of `access_token` for refreshing GitHub Provider sessions (@ibuclaw)
- [#372 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/372 ) Allow fallback to secondary verified email address in GitHub provider (@dmnemec)
- [#335 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/335 ) OIDC Provider support for empty id_tokens in the access token refresh response (@howzat)
- [#363 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/363 ) Extension of Redis Session Store to Support Redis Cluster (@yan-dblinf)
- [#353 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/353 ) Fix login page fragment handling after soft reload on Firefox (@ffdybuster)
- [#355 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/355 ) Add Client Secret File support for providers that rotate client secret via file system (@pasha-r)
- [#401 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/401 ) Give the option to pass email address in the Basic auth header instead of upstream usernames. (@Spindel)
- [#405 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/405 ) The `/sign_in` page now honors the `rd` query parameter, fixing the redirect after a successful authentication (@ti-mo)
- [#434 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/434 ) Give the option to prefer email address in the username header when using the -pass-user-headers option (@jordancrawfordnz)
2020-01-31 14:11:15 +03:00
2020-01-29 14:52:32 +03:00
# v5.0.0
2020-05-06 21:00:12 +03:00
## Release Highlights
2020-01-29 14:52:32 +03:00
- Disabled CGO (binaries will work regardless og glibc/musl)
- Allow whitelisted redirect ports
- Nextcloud provider support added
- DigitalOcean provider support added
2019-12-10 19:34:33 +03:00
## Important Notes
2020-03-29 16:54:36 +03:00
- (Security) Fix for [open redirect vulnerability ](https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-qqxw-m5fj-f7gv ).. a bad actor using `/\` in redirect URIs can redirect a session to another domain
2019-12-10 19:34:33 +03:00
## Breaking Changes
2020-03-29 16:54:36 +03:00
- [#321 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/331 ) Add reverse proxy boolean flag to control whether headers like `X-Real-Ip` are accepted.
2020-01-24 20:54:13 +03:00
This defaults to false. **Usage behind a reverse proxy will require this flag to be set to avoid logging the reverse proxy IP address** .
2019-12-10 19:34:33 +03:00
## Changes since v4.1.0
2020-01-20 22:21:51 +03:00
2020-03-29 16:54:36 +03:00
- [#331 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/331 ) Add reverse proxy setting (@martin-css)
- [#365 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/365 ) Build with CGO=0 (@tomelliff)
- [#339 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/339 ) Add configuration for cookie 'SameSite' value. (@pgroudas)
- [#347 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/347 ) Update keycloak provider configuration documentation. (@sushiMix)
- [#325 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/325 ) dist.sh: use sha256sum (@syscll)
- [#179 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/179 ) Add Nextcloud provider (@Ramblurr)
- [#280 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/280 ) whitelisted redirect domains: add support for whitelisting specific ports or allowing wildcard ports (@kamaln7)
- [#351 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/351 ) Add DigitalOcean Auth provider (@kamaln7)
2020-02-15 16:44:39 +03:00
2019-12-10 19:34:33 +03:00
# v4.1.0
## Release Highlights
- Added Keycloak provider
- Build on Go 1.13
- Upgrade Docker image to use Debian Buster
- Added support for FreeBSD builds
- Added new logo
- Added support for GitHub teams
## Important Notes
N/A
## Breaking Changes
N/A
2019-08-16 17:06:53 +03:00
## Changes since v4.0.0
2020-03-29 16:54:36 +03:00
- [#292 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/292 ) Added bash >= 4.0 dependency to configure script (@jmfrank63)
- [#227 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/227 ) Add Keycloak provider (@Ofinka)
- [#259 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/259 ) Redirect to HTTPS (@jmickey)
- [#273 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/273 ) Support Go 1.13 (@dio)
- [#275 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/275 ) docker: build from debian buster (@syscll)
- [#258 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/258 ) Add IDToken for Azure provider (@leyshon)
- This PR adds the IDToken into the session for the Azure provider allowing requests to a backend to be identified as a specific user. As a consequence, if you are using a cookie to store the session the cookie will now exceed the 4kb size limit and be split into multiple cookies. This can cause problems when using nginx as a proxy, resulting in no cookie being passed at all. Either increase the proxy_buffer_size in nginx or implement the redis session storage (see https://oauth2-proxy.github.io/oauth2-proxy/configuration#redis-storage)
- [#286 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/286 ) Requests.go updated with useful error messages (@biotom)
- [#274 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/274 ) Supports many github teams with api pagination support (@toshi-miura, @apratina )
- [#302 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/302 ) Rewrite dist script (@syscll)
- [#304 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/304 ) Add new Logo! :tada: (@JoelSpeed)
- [#300 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/300 ) Added userinfo endpoint (@kbabuadze)
- [#309 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/309 ) Added support for custom CA when connecting to Redis cache (@lleszczu)
- [#248 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/248 ) Fix issue with X-Auth-Request-Redirect header being ignored (@webnard)
- [#314 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/314 ) Add redirect capability to sign_out (@costelmoraru)
- [#265 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/265 ) Add upstream with static response (@cgroschupp)
- [#317 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/317 ) Add build for FreeBSD (@fnkr)
- [#296 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/296 ) Allow to override provider's name for sign-in page (@ffdybuster)
2019-08-17 10:10:37 +03:00
2019-08-16 17:06:53 +03:00
# v4.0.0
## Release Highlights
2020-03-29 16:54:36 +03:00
- Documentation is now on a [microsite ](https://oauth2-proxy.github.io/oauth2-proxy/ )
2019-08-16 17:06:53 +03:00
- Health check logging can now be disabled for quieter logs
- Authorization Header JWTs can now be verified by the proxy to skip authentication for machine users
- Sessions can now be stored in Redis. This reduces refresh failures and uses smaller cookies (Recommended for those using OIDC refreshing)
- Logging overhaul allows customisable logging formats
## Important Notes
- This release includes a number of breaking changes that will require users to
reconfigure their proxies. Please read the Breaking Changes below thoroughly.
2019-05-09 12:26:40 +03:00
## Breaking Changes
2020-03-29 16:54:36 +03:00
- [#231 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/231 ) Rework GitLab provider
2019-08-06 14:20:54 +03:00
- This PR changes the configuration options for the GitLab provider to use
a self-hosted instance. You now need to specify a `-oidc-issuer-url` rather than
explicit `-login-url` , `-redeem-url` and `-validate-url` parameters.
2020-03-29 16:54:36 +03:00
- [#186 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/186 ) Make config consistent
2019-06-15 12:12:21 +03:00
- This PR changes configuration options so that all flags have a config counterpart
of the same name but with underscores (`_`) in place of hyphens (`-`).
2019-06-21 17:44:06 +03:00
This change affects the following flags:
- The `--tls-key` flag is now `--tls-key-file` to be consistent with existing
file flags and the existing config and environment settings
- The `--tls-cert` flag is now `--tls-cert-file` to be consistent with existing
file flags and the existing config and environment settings
2019-06-15 12:12:21 +03:00
This change affects the following existing configuration options:
- The `proxy-prefix` option is now `proxy_prefix` .
2019-06-21 17:44:06 +03:00
This PR changes environment variables so that all flags have an environment
2019-06-15 12:12:21 +03:00
counterpart of the same name but capitalised, with underscores (`_`) in place
of hyphens (`-`) and with the prefix `OAUTH2_PROXY_` .
This change affects the following existing environment variables:
- The `OAUTH2_SKIP_OIDC_DISCOVERY` environment variable is now `OAUTH2_PROXY_SKIP_OIDC_DISCOVERY` .
- The `OAUTH2_OIDC_JWKS_URL` environment variable is now `OAUTH2_PROXY_OIDC_JWKS_URL` .
2020-03-29 16:54:36 +03:00
- [#146 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/146 ) Use full email address as `User` if the auth response did not contain a `User` field
2019-05-09 12:26:40 +03:00
- This change modifies the contents of the `X-Forwarded-User` header supplied by the proxy for users where the auth response from the IdP did not contain
a username.
In that case, this header used to only contain the local part of the user's email address (e.g. `john.doe` for `john.doe@example.com` ) but now contains
the user's full email address instead.
2020-03-29 16:54:36 +03:00
- [#170 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/170 ) Pre-built binary tarballs changed format
2019-05-31 11:24:45 +03:00
- The pre-built binary tarballs again match the format of the [bitly ](https://github.com/bitly/oauth2_proxy ) repository, where the unpacked directory
has the same name as the tarball and the binary is always named `oauth2_proxy` . This was done to restore compatibility with third-party automation
recipes like https://github.com/jhoblitt/puppet-oauth2_proxy.
2019-05-09 12:26:40 +03:00
2019-04-12 12:27:42 +03:00
## Changes since v3.2.0
2019-04-23 19:22:46 +03:00
2020-03-29 16:54:36 +03:00
- [#234 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/234 ) Added option `-ssl-upstream-insecure-skip-validation` to skip validation of upstream SSL certificates (@jansinger)
- [#224 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/224 ) Check Google group membership using hasMember to support nested groups and external users (@jpalpant)
- [#231 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/231 ) Add optional group membership and email domain checks to the GitLab provider (@Overv)
- [#226 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/226 ) Made setting of proxied headers deterministic based on configuration alone (@aeijdenberg)
- [#178 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/178 ) Add Silence Ping Logging and Exclude Logging Paths flags (@kskewes)
- [#209 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/209 ) Improve docker build caching of layers (@dekimsey)
- [#186 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/186 ) Make config consistent (@JoelSpeed)
- [#187 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/187 ) Move root packages to pkg folder (@JoelSpeed)
- [#65 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/65 ) Improvements to authenticate requests with a JWT bearer token in the `Authorization` header via
2019-08-16 17:06:53 +03:00
the `-skip-jwt-bearer-token` options. (@brianv0)
2019-06-15 12:12:21 +03:00
- Additional verifiers can be configured via the `-extra-jwt-issuers` flag if the JWT issuers is either an OpenID provider or has a JWKS URL
2019-02-15 02:00:49 +03:00
(e.g. `https://example.com/.well-known/jwks.json` ).
2020-03-29 16:54:36 +03:00
- [#180 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/180 ) Minor refactor of core proxying path (@aeijdenberg).
- [#175 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/175 ) Bump go-oidc to v2.0.0 (@aeijdenberg).
2019-06-03 07:54:54 +03:00
- Includes fix for potential signature checking issue when OIDC discovery is skipped.
2020-03-29 16:54:36 +03:00
- [#155 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/155 ) Add RedisSessionStore implementation (@brianv0, @JoelSpeed )
2019-05-21 00:46:38 +03:00
- Implement flags to configure the redis session store
2019-06-05 10:02:49 +03:00
- `-session-store-type=redis` Sets the store type to redis
- `-redis-connection-url` Sets the Redis connection URL
- `-redis-use-sentinel=true` Enables Redis Sentinel support
- `-redis-sentinel-master-name` Sets the Sentinel master name, if sentinel is enabled
- `-redis-sentinel-connection-urls` Defines the Redis Sentinel Connection URLs, if sentinel is enabled
- Introduces the concept of a session ticket. Tickets are composed of the cookie name, a session ID, and a secret.
2019-06-15 12:22:41 +03:00
- Redis Sessions are stored encrypted with a per-session secret
2019-06-05 10:02:49 +03:00
- Added tests for server based session stores
2020-03-29 16:54:36 +03:00
- [#168 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/168 ) Drop Go 1.11 support in Travis (@JoelSpeed)
- [#169 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/169 ) Update Alpine to 3.9 (@kskewes)
- [#148 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/148 ) Implement SessionStore interface within proxy (@JoelSpeed)
- [#147 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/147 ) Add SessionStore interfaces and initial implementation (@JoelSpeed)
2019-05-18 14:09:24 +03:00
- Allows for multiple different session storage implementations including client and server side
- Adds tests suite for interface to ensure consistency across implementations
- Refactor some configuration options (around cookies) into packages
2020-03-29 16:54:36 +03:00
- [#114 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/114 ), [#154 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/154 ) Documentation is now available live at our [docs website ](https://oauth2-proxy.github.io/oauth2-proxy/ ) (@JoelSpeed, @icelynjennings )
- [#146 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/146 ) Use full email address as `User` if the auth response did not contain a `User` field (@gargath)
- [#144 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/144 ) Use GO 1.12 for ARM builds (@kskewes)
- [#142 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/142 ) ARM Docker USER fix (@kskewes)
- [#52 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/52 ) Logging Improvements (@MisterWil)
2019-02-15 21:29:24 +03:00
- Implement flags to configure file logging
- `-logging-filename` Defines the filename to log to
- `-logging-max-size` Defines the maximum
- `-logging-max-age` Defines the maximum age of backups to retain
- `-logging-max-backups` Defines the maximum number of rollover log files to retain
- `-logging-compress` Defines if rollover log files should be compressed
- `-logging-local-time` Defines if logging date and time should be local or UTC
- Implement two new flags to enable or disable specific logging types
- `-standard-logging` Enables or disables standard (not request or auth) logging
- `-auth-logging` Enables or disables auth logging
- Implement two new flags to customize the logging format
- `-standard-logging-format` Sets the format for standard logging
- `-auth-logging-format` Sets the format for auth logging
2020-03-29 16:54:36 +03:00
- [#111 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/111 ) Add option for telling where to find a login.gov JWT key file (@timothy-spencer)
- [#170 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/170 ) Restore binary tarball contents to be compatible with bitlys original tarballs (@zeha)
- [#185 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/185 ) Fix an unsupported protocol scheme error during token validation when using the Azure provider (@jonas)
- [#141 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/141 ) Check google group membership based on email address (@bchess)
2019-04-17 00:57:09 +03:00
- Google Group membership is additionally checked via email address, allowing users outside a GSuite domain to be authorized.
2020-03-29 16:54:36 +03:00
- [#195 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/195 ) Add `-banner` flag for overriding the banner line that is displayed (@steakunderscore)
- [#198 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/198 ) Switch from gometalinter to golangci-lint (@steakunderscore)
- [#159 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/159 ) Add option to skip the OIDC provider verified email check: `--insecure-oidc-allow-unverified-email` (@djfinlay)
- [#210 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/210 ) Update base image from Alpine 3.9 to 3.10 (@steakunderscore)
- [#201 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/201 ) Add Bitbucket as new OAuth2 provider, accepts email, team and repository permissions to determine authorization (@aledeganopix4d)
2019-08-16 16:53:22 +03:00
- Implement flags to enable Bitbucket authentication:
- `-bitbucket-repository` Restrict authorization to users that can access this repository
- `-bitbucket-team` Restrict authorization to users that are part of this Bitbucket team
2020-03-29 16:54:36 +03:00
- [#211 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/211 ) Switch from dep to go modules (@steakunderscore)
- [#145 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/145 ) Add support for OIDC UserInfo endpoint email verification (@rtluckie)
2019-04-17 00:57:09 +03:00
2019-04-12 12:27:42 +03:00
# v3.2.0
## Release highlights
- Internal restructure of session state storage to use JSON rather than proprietary scheme
- Added health check options for running on GCP behind a load balancer
- Improved support for protecting websockets
- Added provider for login.gov
- Allow manual configuration of OIDC providers
## Important notes
- Dockerfile user is now non-root, this may break your existing deployment
- In the OIDC provider, when no email is returned, the ID Token subject will be used
instead of returning an error
- GitHub user emails must now be primary and verified before authenticating
2019-02-08 14:57:17 +03:00
## Changes since v3.1.0
2019-03-11 20:55:02 +03:00
- [#96 ](https://github.com/bitly/oauth2_proxy/pull/96 ) Check if email is verified on GitHub (@caarlos0)
2020-03-29 16:54:36 +03:00
- [#110 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/110 ) Added GCP healthcheck option (@timothy-spencer)
- [#112 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/112 ) Improve websocket support (@gyson)
- [#63 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/63 ) Use encoding/json for SessionState serialization (@yaegashi)
2019-03-20 16:59:24 +03:00
- Use JSON to encode session state to be stored in browser cookies
- Implement legacy decode function to support existing cookies generated by older versions
- Add detailed table driven tests in session_state_test.go
2020-03-29 16:54:36 +03:00
- [#120 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/120 ) Encrypting user/email from cookie (@costelmoraru)
- [#55 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/55 ) Added login.gov provider (@timothy-spencer)
- [#55 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/55 ) Added environment variables for all config options (@timothy-spencer)
- [#70 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/70 ) Fix handling of splitted cookies (@einfachchr)
- [#92 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/92 ) Merge websocket proxy feature from openshift/oauth-proxy (@butzist)
- [#57 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/57 ) Fall back to using OIDC Subject instead of Email (@aigarius)
- [#85 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/85 ) Use non-root user in docker images (@kskewes)
- [#68 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/68 ) forward X-Auth-Access-Token header (@davidholsgrove)
- [#41 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/41 ) Added option to manually specify OIDC endpoints instead of relying on discovery
- [#83 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/83 ) Add `id_token` refresh to Google provider (@leki75)
- [#10 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/10 ) fix redirect url param handling (@dt-rush)
- [#122 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/122 ) Expose -cookie-path as configuration parameter (@costelmoraru)
- [#124 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/124 ) Use Go 1.12 for testing and build environments (@syscll)
2019-02-22 10:49:57 +03:00
2019-02-08 14:57:17 +03:00
# v3.1.0
## Release highlights
- Introduction of ARM releases and and general improvements to Docker builds
- Improvements to OIDC provider allowing pass-through of ID Tokens
- Multiple redirect domains can now be whitelisted
- Streamed responses are now flushed periodically
## Important notes
2019-02-08 17:16:41 +03:00
- If you have been using [#bitly/621 ](https://github.com/bitly/oauth2_proxy/pull/621 )
and have cookies larger than the 4kb limit,
the cookie splitting pattern has changed and now uses `_` in place of `-` when
indexing cookies.
This will force users to reauthenticate the first time they use `v3.1.0` .
- Streamed responses will now be flushed every 1 second by default.
Previously streamed responses were flushed only when the buffer was full.
To retain the old behaviour set `--flush-interval=0` .
2020-03-29 16:54:36 +03:00
See [#23 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/23 ) for further details.
2019-02-08 14:57:17 +03:00
2019-01-14 13:07:22 +03:00
## Changes since v3.0.0
2020-03-29 16:54:36 +03:00
- [#14 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/14 ) OIDC ID Token, Authorization Headers, Refreshing and Verification (@joelspeed)
2019-01-22 14:36:52 +03:00
- Implement `pass-authorization-header` and `set-authorization-header` flags
- Implement token refreshing in OIDC provider
- Split cookies larger than 4k limit into multiple cookies
- Implement token validation in OIDC provider
2020-03-29 16:54:36 +03:00
- [#15 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/15 ) WhitelistDomains (@joelspeed)
2019-01-22 15:01:37 +03:00
- Add `--whitelist-domain` flag to allow redirection to approved domains after OAuth flow
2020-03-29 16:54:36 +03:00
- [#21 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/21 ) Docker Improvement (@yaegashi)
2019-01-22 13:11:40 +03:00
- Move Docker base image from debian to alpine
- Install ca-certificates in docker image
2020-03-29 16:54:36 +03:00
- [#23 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/23 ) Flushed streaming responses
2019-01-31 17:02:15 +03:00
- Long-running upstream responses will get flushed every < timeperiod > (1 second by default)
2020-03-29 16:54:36 +03:00
- [#24 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/24 ) Redirect fix (@agentgonzo)
2019-01-29 15:13:02 +03:00
- After a successful login, you will be redirected to your original URL rather than /
2020-03-29 16:54:36 +03:00
- [#35 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/35 ) arm and arm64 binary releases (@kskewes)
2019-01-31 21:52:08 +03:00
- Add armv6 and arm64 to Makefile `release` target
2020-03-29 16:54:36 +03:00
- [#37 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/37 ) cross build arm and arm64 docker images (@kskewes)
2019-01-22 13:11:40 +03:00
2019-01-14 13:07:22 +03:00
# v3.0.0
Adoption of OAuth2_Proxy by Pusher.
Project was hard forked and tidied however no logical changes have occurred since
v2.2 as released by Bitly.
2018-11-27 14:23:37 +03:00
## Changes since v2.2:
2020-03-29 16:54:36 +03:00
- [#7 ](https://github.com/oauth2-proxy/oauth2-proxy/pull/7 ) Migration to Pusher (@joelspeed)
2019-01-14 13:07:22 +03:00
- Move automated build to debian base image
- Add Makefile
- Update CI to run `make test`
- Update Dockerfile to use `make clean oauth2_proxy`
- Update `VERSION` parameter to be set by `ldflags` from Git Status
- Remove lint and test scripts
- Remove Go v1.8.x from Travis CI testing
- Add CODEOWNERS file
- Add CONTRIBUTING guide
- Add Issue and Pull Request templates
- Add Dockerfile
- Fix fsnotify import
- Update README to reflect new repository ownership
- Update CI scripts to separate linting and testing
- Now using `gometalinter` for linting
- Move Go import path from `github.com/bitly/oauth2_proxy` to `github.com/pusher/oauth2_proxy`
- Repository forked on 27/11/18
- README updated to include note that this repository is forked
- CHANGLOG created to track changes to repository from original fork