From 256f2431f93d0ffd75c906c965d0df8236fa92a3 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Mon, 15 Aug 2016 09:22:20 +0200 Subject: [PATCH] documentation: fix getting-started The discovery URL has changed and now ends with /dex. As the scripts were updated in #525, the documentation was not. Broken since #521. [skip ci] Signed-off-by: Julien Pivotto --- Documentation/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/getting-started.md b/Documentation/getting-started.md index 59b2d667..ee171b6f 100644 --- a/Documentation/getting-started.md +++ b/Documentation/getting-started.md @@ -20,7 +20,7 @@ In addition, if you wish to try out authenticating against Google's OIDC backend * Go to https://console.developers.google.com/project and select an existing project or create a new project. * Click on APIs and auth > Credentials, and select an OAuth 2 client ID from the Add credentials dropdown. -* On the "Create Client ID" screen, choose "Web Application", provide a Name and enter `http://127.0.0.1:5556/auth/google/callback` for your Authorised redirect URI. +* On the "Create Client ID" screen, choose "Web Application", provide a Name and enter `http://127.0.0.1:5556/dex/auth/google/callback` for your Authorised redirect URI. * The generated client ID and client secret will be needed later. # Create Database @@ -142,7 +142,7 @@ DEX_APP_CLIENT_SECRET The included example app demonstrates registering and authenticating with dex. Start it up: ``` -./bin/example-app --client-id=$DEX_APP_CLIENT_ID --client-secret=$DEX_APP_CLIENT_SECRET --discovery=http://127.0.0.1:5556 & +./bin/example-app --client-id=$DEX_APP_CLIENT_ID --client-secret=$DEX_APP_CLIENT_SECRET --discovery=http://127.0.0.1:5556/dex & ``` # Authenticate with dex!