From cced75f138038fb7b029bf53e8de9aad5d56c264 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Thu, 11 Aug 2016 12:53:48 -0700 Subject: [PATCH] *: update examples to hold valid client secrets for no-db mode --- Documentation/tls-setup.md | 2 +- examples/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/tls-setup.md b/Documentation/tls-setup.md index 04df64bc..29341364 100644 --- a/Documentation/tls-setup.md +++ b/Documentation/tls-setup.md @@ -46,7 +46,7 @@ When establishing connection to the server, we will need to provide the CA file ./bin/example-app \ --trusted-ca-file=examples/tls-setup/certs/ca.pem \ --client-id="XXX" \ - --client-secret="secrete" \ + --client-secret="c2VjcmV0ZQ==" \ --redirect-url="http://127.0.0.1:5555/callback" \ --discovery="https://127.0.0.1:5556" \ --listen="http://127.0.0.1:5555" diff --git a/examples/README.md b/examples/README.md index 947ec5b6..9f325c89 100644 --- a/examples/README.md +++ b/examples/README.md @@ -34,7 +34,7 @@ supplying the client information from `./static/fixtures/clients.json` into the ```console ./bin/example-app \ --client-id=example-app \ - --client-secret=example-app-secret \ + --client-secret=eZXhhbXBsZS1jbGktc2VjcmV0 \ --discovery=http://127.0.0.1:5556 ``` @@ -54,6 +54,6 @@ The example CLI will start, connect to the Dex instance to gather discovery info ```console ./bin/example-cli \ --client-id example-cli \ - --client-secret examplie-cli-secret \ + --client-secret ZXhhbXBsZS1jbGktc2VjcmV0 \ --discovery=http://127.0.0.1:5556 ```