chore: add notes and values for openid_conf

This commit is contained in:
Jesús Pérez 2023-09-20 13:39:58 +01:00
parent 3807582ba5
commit e8b9344891

View File

@ -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