chore: add notes and values for openid_conf
This commit is contained in:
parent
3807582ba5
commit
e8b9344891
1 changed files with 8 additions and 0 deletions
|
|
@ -107,6 +107,14 @@ path_serv_paths = "config/serv_paths.toml"
|
||||||
# Casdoor https://casdoor.org/ for "auth"
|
# Casdoor https://casdoor.org/ for "auth"
|
||||||
# By default does not sign (disable: true) and do not need Pub certificate TODO
|
# By default does not sign (disable: true) and do not need Pub certificate TODO
|
||||||
[openid_auths.auth]
|
[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"
|
algorithm = "RS256"
|
||||||
access_token_url = "https://AUTH-DOMAIN/api/login/oauth/access_token"
|
access_token_url = "https://AUTH-DOMAIN/api/login/oauth/access_token"
|
||||||
disable_signature = true
|
disable_signature = true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue