forked from mystiq/dex
Documentation: fix --db-url flag
As was noted in #293 --db-url must take two slashs, not one.
This commit is contained in:
parent
a3f26be501
commit
7b32d9e4ee
1 changed files with 2 additions and 2 deletions
|
@ -115,7 +115,7 @@ cat << EOF > /tmp/dex_connectors.json
|
|||
}
|
||||
]
|
||||
EOF
|
||||
./bin/dexctl -db-url=$DEX_DB_URL set-connector-configs /tmp/dex_connectors.json
|
||||
./bin/dexctl --db-url=$DEX_DB_URL set-connector-configs /tmp/dex_connectors.json
|
||||
```
|
||||
|
||||
One thing to note here that's a bit confusing here is that in the case of the Google OIDC connector, dex is the client and Google is the IdP, but when you're dealing with your own apps that want to authenticate against dex, your app is the client and dex is the IdP.
|
||||
|
@ -127,7 +127,7 @@ Like all OAuth2/OIDC IdPs, clients must be registered with the IdP (dex), along
|
|||
New clients can be registered with the dexctl CLI tool:
|
||||
|
||||
```
|
||||
eval "$(./bin/dexctl -db-url=$DEX_DB_URL new-client http://127.0.0.1:5555/callback)"
|
||||
eval "$(./bin/dexctl --db-url=$DEX_DB_URL new-client http://127.0.0.1:5555/callback)"
|
||||
```
|
||||
|
||||
The output of this command is eval'able if you are in bash, and sets the following shell variables:
|
||||
|
|
Loading…
Reference in a new issue