@@ -19,17 +19,17 @@ A list of changes can be seen in the [CHANGELOG](CHANGELOG.md).
1919
20201. Choose how to deploy:
2121
22− a. Download [Prebuilt Binary](https://github.com/pusher/oauth2_proxy/releases) (current release is `v3.0.0`)
22+ a. Download [Prebuilt Binary](https://github.com/pusher/oauth2_proxy/releases) (current release is `v3.1.0`)
2323
2424 b. Build with `$ go get github.com/pusher/oauth2_proxy` which will put the binary in `$GOROOT/bin`
2525
26− c. Using the prebuilt docker image [quay.io/pusher/oauth2_proxy](https://quay.io/pusher/oauth2_proxy)
26+ c. Using the prebuilt docker image [quay.io/pusher/oauth2_proxy](https://quay.io/pusher/oauth2_proxy) (AMD64, ARMv6 and ARM64 tags available)
2727
2828Prebuilt binaries can be validated by extracting the file and verifying it against the `sha256sum.txt` checksum file provided for each release starting with version `v3.0.0`.
2929
3030```
3131sha256sum -c sha256sum.txt 2>&1 | grep OK
32−oauth2_proxy-3.0.0.linux-amd64: OK
32+oauth2_proxy-3.1.0.linux-amd64: OK
3333```
3434
35352. Select a Provider and Register an OAuth Application with a Provider
@@ -427,19 +427,19 @@ server {
427427 auth_request_set $auth_cookie $upstream_http_set_cookie;
428428 add_header Set-Cookie $auth_cookie;
429429
430− # When using the --set-authorization flag, some provider's cookies can exceed the 4kb
431− # limit and so the OAuth2 Proxy splits these into multiple parts.
430+ # When using the --set-authorization flag, some provider's cookies can exceed the 4kb
431+ # limit and so the OAuth2 Proxy splits these into multiple parts.
432432 # Nginx normally only copies the first `Set-Cookie` header from the auth_request to the response,
433433 # so if your cookies are larger than 4kb, you will need to extract additional cookies manually.
434434 auth_request_set $auth_cookie_name_upstream_1 $upstream_cookie_auth_cookie_name_1;
435−
435+
436436 # Extract the Cookie attributes from the first Set-Cookie header and append them
437437 # to the second part ($upstream_cookie_* variables only contain the raw cookie content)
438438 if ($auth_cookie ~* "(; .*)") {
439− set $auth_cookie_name_0 $auth_cookie;
439+ set $auth_cookie_name_0 $auth_cookie;
440440 set $auth_cookie_name_1 "auth_cookie_name_1=$auth_cookie_name_upstream_1$1";
441441 }
442−
442+
443443 # Send both Set-Cookie headers now if there was a second part
444444 if ($auth_cookie_name_upstream_1) {
445445 add_header Set-Cookie $auth_cookie_name_0;