summaryrefslogtreecommitdiff
path: root/docs/content/guides/auth/saml-onelogin.md
diff options
context:
space:
mode:
authorDavid Mehren2021-01-11 12:00:33 +0100
committerDavid Mehren2021-01-11 12:00:33 +0100
commit80d8cc79f6843bca557d882db32fae8c55ab425f (patch)
tree22a1c4276cc605c63bfd9d6874d04cd43c2ebf6f /docs/content/guides/auth/saml-onelogin.md
parent877bc26078c888abaf8bc73da38206ba4dd7b97a (diff)
Docs: Unify code block languages
Use `yaml` for Dockerfiles, `shell` for environment variables and `json` for our config file. Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to '')
-rw-r--r--docs/content/guides/auth/saml-onelogin.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guides/auth/saml-onelogin.md b/docs/content/guides/auth/saml-onelogin.md
index 37a2a439..cbf31b73 100644
--- a/docs/content/guides/auth/saml-onelogin.md
+++ b/docs/content/guides/auth/saml-onelogin.md
@@ -34,7 +34,7 @@
8. In your HedgeDoc server, create IdP certificate file from (A)
9. Add the IdP URL (B) and the Idp certificate file path to your config.json file or pass them as environment variables.
- `config.json`:
- ```javascript
+ ```json
{
"production": {
"saml": {
@@ -46,7 +46,7 @@
```
- environment variables
- ```sh
+ ```shell
CMD_SAML_IDPSSOURL=https://*******.onelogin.com/trust/saml2/http-post/sso/******
CMD_SAML_IDPCERT=/path/to/idp_cert.pem
```