Skip to content

Commit

Permalink
Merge pull request #2741 from tsupertramp/improve-docs-for-oauth
Browse files Browse the repository at this point in the history
Add redirect uri for oauth2 login
  • Loading branch information
k8s-ci-robot authored Jul 5, 2018
2 parents c5584cc + 25f0b29 commit 64cf1b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/examples/auth/oauth-external-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Sample:
metadata:
name: application
annotations:
"nginx.ingress.kubernetes.io/auth-url": "https://$host/oauth2/auth"
"nginx.ingress.kubernetes.io/auth-signin": "https://$host/oauth2/sign_in"
nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$request_uri"
...
```

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/auth/oauth-external-auth/dashboard-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
nginx.ingress.kubernetes.io/auth-signin: https://$host/oauth2/start
nginx.ingress.kubernetes.io/auth-url: https://$host/oauth2/auth
nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$request_uri"
name: external-auth-oauth2
namespace: kube-system
spec:
Expand Down

0 comments on commit 64cf1b9

Please sign in to comment.