Merge pull request #170 from bobbyrullo/invite_docs

Documentation: turn on registration in examples
This commit is contained in:
bobbyrullo 2015-11-02 13:54:11 -08:00
commit 1ecaab8f0f
2 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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.