From e8b9344891b3a8b7b0d5f3884a16a87bd20f1641 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20P=C3=A9rez?= Date: Wed, 20 Sep 2023 13:39:58 +0100 Subject: [PATCH] chore: add notes and values for openid_conf --- resources/config_model/site.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/config_model/site.toml b/resources/config_model/site.toml index ada13f9..3debfac 100644 --- a/resources/config_model/site.toml +++ b/resources/config_model/site.toml @@ -107,6 +107,14 @@ path_serv_paths = "config/serv_paths.toml" # Casdoor https://casdoor.org/ for "auth" # By default does not sign (disable: true) and do not need Pub certificate TODO [openid_auths.auth] + # Redirect URL from openid auth, can include port as in config.hostport + redirect_url = "https://DOCSERVER-DOMAIN/from_openid?response_type=code" + # Preload in server loading + preload = false + # Trust openid user if same name exists in user_store + trusted = true + # Not sign token wit certificate, default is used only once in RSA256 + disable_signature = true algorithm = "RS256" access_token_url = "https://AUTH-DOMAIN/api/login/oauth/access_token" disable_signature = true