diff --git a/Documentation/dev-guide.md b/Documentation/dev-guide.md index 412d491b..245daa04 100644 --- a/Documentation/dev-guide.md +++ b/Documentation/dev-guide.md @@ -10,6 +10,8 @@ In this mode you provide the binary with paths to files to connectors and users *Do not use this flag in production* - it's not thread safe and data is destroyed when the process dies. In addition, there is no key rotation. +Note: If you want to test out the registration flow, you need to enable that feature by passing `--enable-registration=true` as well. + ## Building To build using the go binary on your host, use the `./build` script. diff --git a/Documentation/getting-started.md b/Documentation/getting-started.md index dbd6ca7f..3d14d354 100644 --- a/Documentation/getting-started.md +++ b/Documentation/getting-started.md @@ -78,7 +78,7 @@ Please review [email-configuration](https://github.com/coreos/dex/blob/master/Do Once you have setup your email config run `dex-worker`: -`./bin/dex-worker --db-url=$DEX_DB_URL --key-secrets=$DEX_KEY_SECRET --email-cfg=static/fixtures/emailer.json.sample --log-debug=true &` +`./bin/dex-worker --db-url=$DEX_DB_URL --key-secrets=$DEX_KEY_SECRET --email-cfg=static/fixtures/emailer.json.sample --enable-registration=true --log-debug=true &` Now you have a worker which you can authenticate against, listening on `http://0.0.0.0:5556`, which is the default. Note that the default issuer URL (which can be changed on --issuerURL) is `http://127.0.0.1:5556`. The issuer URL is the base URL (i.e. no query or fragments) uniquely identifying your dex installation.