forked from mystiq/dex
Merge pull request #170 from bobbyrullo/invite_docs
Documentation: turn on registration in examples
This commit is contained in:
commit
1ecaab8f0f
2 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue