git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge branch 'master' into advisory-fix-1
8c76577David Stark
CHANGELOG.md+20−1
@@ -1,16 +1,35 @@
1# Vx.x.x (Pre-release)
1# Vx.x.x (Pre-release)
2
2
3+## Release Hightlights
4+
3## Important Notes
5## Important Notes
4
6
5## Breaking Changes
7## Breaking Changes
6
8
9+## Changes since v5.0.0
10+
11+# v5.0.0
12+
13+## Release Hightlights
14+- Disabled CGO (binaries will work regardless og glibc/musl)
15+- Allow whitelisted redirect ports
16+- Nextcloud provider support added
17+- DigitalOcean provider support added
18+
19+## Important Notes
20+N/A
21+
22+## Breaking Changes
23+
7- [#321](https://github.com/pusher/oauth2_proxy/pull/331) Add reverse proxy boolean flag to control whether headers like `X-Real-Ip` are accepted.
24- [#321](https://github.com/pusher/oauth2_proxy/pull/331) Add reverse proxy boolean flag to control whether headers like `X-Real-Ip` are accepted.
8 This defaults to false. **Usage behind a reverse proxy will require this flag to be set to avoid logging the reverse proxy IP address**.
25 This defaults to false. **Usage behind a reverse proxy will require this flag to be set to avoid logging the reverse proxy IP address**.
9
26
10## Changes since v4.1.0
27## Changes since v4.1.0
11
28
29+- [#331](https://github.com/pusher/oauth2_proxy/pull/331) Add reverse proxy setting (@martin-css)
30+- [#365](https://github.com/pusher/oauth2_proxy/pull/365) Build with CGO=0 (@tomelliff)
12- [#339](https://github.com/pusher/oauth2_proxy/pull/339) Add configuration for cookie 'SameSite' value. (@pgroudas)
31- [#339](https://github.com/pusher/oauth2_proxy/pull/339) Add configuration for cookie 'SameSite' value. (@pgroudas)
13−- [#347](https://github.com/pusher/oauth2_proxy/pull/347) Update keycloak provider configuration documentation
32+- [#347](https://github.com/pusher/oauth2_proxy/pull/347) Update keycloak provider configuration documentation. (@sushiMix)
14- [#325](https://github.com/pusher/oauth2_proxy/pull/325) dist.sh: use sha256sum (@syscll)
33- [#325](https://github.com/pusher/oauth2_proxy/pull/325) dist.sh: use sha256sum (@syscll)
15- [#179](https://github.com/pusher/oauth2_proxy/pull/179) Add Nextcloud provider (@Ramblurr)
34- [#179](https://github.com/pusher/oauth2_proxy/pull/179) Add Nextcloud provider (@Ramblurr)
16- [#280](https://github.com/pusher/oauth2_proxy/pull/280) whitelisted redirect domains: add support for whitelisting specific ports or allowing wildcard ports (@kamaln7)
35- [#280](https://github.com/pusher/oauth2_proxy/pull/280) whitelisted redirect domains: add support for whitelisting specific ports or allowing wildcard ports (@kamaln7)
dist.sh+2−2
@@ -27,10 +27,10 @@ for ARCH in "${ARCHS[@]}"; do
27
27
28 # Create architecture specific binaries
28 # Create architecture specific binaries
29 if [[ ${GO_ARCH} == "armv6" ]]; then
29 if [[ ${GO_ARCH} == "armv6" ]]; then
30− GO111MODULE=on GOOS=${GO_OS} GOARCH=arm GOARM=6 go build -ldflags="-X main.VERSION=${VERSION}" \
30+ GO111MODULE=on GOOS=${GO_OS} GOARCH=arm GOARM=6 CGO_ENABLED=0 go build -ldflags="-X main.VERSION=${VERSION}" \
31 -o release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} github.com/pusher/oauth2_proxy
31 -o release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} github.com/pusher/oauth2_proxy
32 else
32 else
33− GO111MODULE=on GOOS=${GO_OS} GOARCH=${GO_ARCH} go build -ldflags="-X main.VERSION=${VERSION}" \
33+ GO111MODULE=on GOOS=${GO_OS} GOARCH=${GO_ARCH} CGO_ENABLED=0 go build -ldflags="-X main.VERSION=${VERSION}" \
34 -o release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} github.com/pusher/oauth2_proxy
34 -o release/${BINARY}-${VERSION}.${ARCH}.${GO_VERSION}/${BINARY} github.com/pusher/oauth2_proxy
35 fi
35 fi
36
36