Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve external authentication docs #415

Merged
merged 1 commit into from
Mar 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.