Merge pull request #1590 from ChengYanJin/doc/add-issuer-in-template

add issuer in the templates.md
This commit is contained in:
Nándor István Krácser 2019-12-20 09:28:40 +01:00 committed by GitHub
commit ac242a8bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,11 +14,13 @@ Steps:
```yaml ```yaml
frontend: frontend:
dir: /path/to/custom/web dir: /path/to/custom/web
issuer: my-dex
extra: extra:
tos_footer_link: "https://example.com/terms" tos_footer_link: "https://example.com/terms"
client_logo_url: "../theme/client-logo.png" client_logo_url: "../theme/client-logo.png"
foo: "bar" foo: "bar"
``` ```
5. Set the `frontend.dir` value to your own `web` directory. 5. Set the `frontend.dir` value to your own `web` directory.
6. Write the issuer in the `issuer` directory in order to modify the Dex title and the `Log in to <<dex>>` tag.
To test your templates simply run Dex with a valid configuration and go through a login flow. To test your templates simply run Dex with a valid configuration and go through a login flow.