Merge pull request #544 from ericchiang/fix-client-secrets-in-examples

*: update examples to hold valid client secrets for no-db mode
This commit is contained in:
Eric Chiang 2016-08-11 13:04:38 -07:00 committed by GitHub
commit 882ced4213
2 changed files with 3 additions and 3 deletions

View file

@ -46,7 +46,7 @@ When establishing connection to the server, we will need to provide the CA file
./bin/example-app \ ./bin/example-app \
--trusted-ca-file=examples/tls-setup/certs/ca.pem \ --trusted-ca-file=examples/tls-setup/certs/ca.pem \
--client-id="XXX" \ --client-id="XXX" \
--client-secret="secrete" \ --client-secret="c2VjcmV0ZQ==" \
--redirect-url="http://127.0.0.1:5555/callback" \ --redirect-url="http://127.0.0.1:5555/callback" \
--discovery="https://127.0.0.1:5556" \ --discovery="https://127.0.0.1:5556" \
--listen="http://127.0.0.1:5555" --listen="http://127.0.0.1:5555"

View file

@ -34,7 +34,7 @@ supplying the client information from `./static/fixtures/clients.json` into the
```console ```console
./bin/example-app \ ./bin/example-app \
--client-id=example-app \ --client-id=example-app \
--client-secret=example-app-secret \ --client-secret=eZXhhbXBsZS1jbGktc2VjcmV0 \
--discovery=http://127.0.0.1:5556 --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 ```console
./bin/example-cli \ ./bin/example-cli \
--client-id example-cli \ --client-id example-cli \
--client-secret examplie-cli-secret \ --client-secret ZXhhbXBsZS1jbGktc2VjcmV0 \
--discovery=http://127.0.0.1:5556 --discovery=http://127.0.0.1:5556
``` ```