Skip to content

Commit

Permalink
Merge pull request #415 from aledbf/fix
Browse files Browse the repository at this point in the history
Improve external authentication docs
  • Loading branch information
aledbf authored Mar 9, 2017
2 parents e4bdad3 + 862f4bb commit 858e3ff
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/external-auth/nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addon

2. Create a custom Github OAuth application https://github.com/settings/applications/new

![Register OAuth2 Application](images/regiter-oauth-app.png)
![Register OAuth2 Application](images/register-oauth-app.png)


- Homepage URL is the FQDN in the Ingress rule, like `https://foo.bar.com`
- Authorization callback URL is the same as the base FQDN plus `/oauth2`, like `https://foo.bar.com/oauth2`


![Register OAuth2 Application](images/regiter-oauth-app-2.png)
![Register OAuth2 Application](images/register-oauth-app-2.png)


3. Configure oauth2_proxy values in the file oauth2-proxy.yaml with the values:
Expand All @@ -71,8 +71,8 @@ $ kubectl create -f oauth2-proxy.yaml,dashboard-ingress.yaml
Test the oauth integration accessing the configured URL, like `https://foo.bar.com`


![Register OAuth2 Application](images/oauth-login.png)

![Register OAuth2 Application](images/github-auth.png)

![Register OAuth2 Application](images/dashboard.png)
![Github authentication](images/oauth-login.png)

![Kubernetes dashboard](images/dashboard.png)
Binary file modified examples/external-auth/nginx/images/github-auth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples/external-auth/nginx/images/oauth-login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 858e3ff

Please sign in to comment.