Skip to content

Commit

Permalink
Merge pull request #1568 from life1347/patch-1
Browse files Browse the repository at this point in the history
Add note for redirect uri
  • Loading branch information
bonifaido authored Oct 30, 2019
2 parents 4bede5e + 76c76a0 commit 3f8fd74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Documentation/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@ Once the example app is running, choose the GitHub option and grant access to de

The default redirect uri is http://127.0.0.1:5555/callback and can be changed with the `--redirect-uri` flag and should correspond with your configmap.

Please note the redirect uri is different from the one you filled when creating `GitHub OAuth2 client credentials`.
When you login, GitHub first redirects to dex (https://dex.example.com:32000/callback), then dex redirects to the redirect uri of exampl-app.

The printed ID Token can then be used as a bearer token to authenticate against the API server.

```
Expand Down

0 comments on commit 3f8fd74

Please sign in to comment.