From 240de28567db687d9e3d21c2d863fd1e341f14da Mon Sep 17 00:00:00 2001 From: Mathieu Brunot Date: Mon, 1 Feb 2021 00:06:05 +0100 Subject: [PATCH] :books: Improve frontend configuration docs --- docs/05-Configuration-Guide.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/docs/05-Configuration-Guide.md b/docs/05-Configuration-Guide.md index a4a0cb2f5..45d5eec32 100644 --- a/docs/05-Configuration-Guide.md +++ b/docs/05-Configuration-Guide.md @@ -143,7 +143,7 @@ PENPOT_SREPL_PORT=6062 **NOTE**: a part of setting this configuration on backend, frontend application will also require configuration tweaks for make it work. -##### Goolge +##### Google ```sh PENPOT_GOOGLE_CLIENT_ID= @@ -201,8 +201,8 @@ corresponding auth button in the login page ```js var appGoogleClientID = ""; -var appGitlabClientID = ""; -var appGithubClientID = ""; +var appGitlabClientID = ""; +var appGithubClientID = ""; var appLoginWithLDAP = ; ``` @@ -210,6 +210,20 @@ var appLoginWithLDAP = ; respective services. +### Demo warning and Demo users + +It is possible to display a warning message on a demo environment and +disable/enable demo users: + +```js +var appDemoWarning = ; +var appAllowDemoUsers = ; +``` + +**NOTE:** The configuration for demo users should match the backend +configuration. + + ## Exporter ## The exporter application only have a single configuration option and