Skip to content

Commit

Permalink
Merge pull request oauth2-proxy#269 from YenTheFirst/escape-k8s-auth-…
Browse files Browse the repository at this point in the history
…signin

Escape original request URI in sample kubernetes ingress configuration
  • Loading branch information
JoelSpeed authored Oct 2, 2019
2 parents 721d28b + 513af9b commit 49f1320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ If you use ingress-nginx in Kubernetes (which includes the Lua module), you also

```yaml
nginx.ingress.kubernetes.io/auth-response-headers: Authorization
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$request_uri
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start?rd=$escaped_request_uri
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
nginx.ingress.kubernetes.io/configuration-snippet: |
auth_request_set $name_upstream_1 $upstream_cookie_name_1;
Expand Down

0 comments on commit 49f1320

Please sign in to comment.