Commit cced75f1 authored by Eric Chiang's avatar Eric Chiang

*: update examples to hold valid client secrets for no-db mode

parent ac518139
...@@ -46,7 +46,7 @@ When establishing connection to the server, we will need to provide the CA 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"
......
...@@ -34,7 +34,7 @@ supplying the client information from `./static/fixtures/clients.json` into the ...@@ -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 ...@@ -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
``` ```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment