From 76c76a0b3910bc2d9ba195bbe511a6d229d93f9f Mon Sep 17 00:00:00 2001 From: Ta-Ching Chen Date: Sun, 13 Oct 2019 15:24:22 +0800 Subject: [PATCH] Add note for redirect uri --- Documentation/kubernetes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/kubernetes.md b/Documentation/kubernetes.md index 80edf2e4..b7874c90 100644 --- a/Documentation/kubernetes.md +++ b/Documentation/kubernetes.md @@ -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. ```