Перейти к содержанию

[login] section

Login service configuration

methods

Default valuelocal
YAML Pathlogin.methods
Key-Value Pathlogin/methods
EnvironmentNOC_LOGIN_METHODS

session_ttl

Default value7d
YAML Pathlogin.session_ttl
Key-Value Pathlogin/session_ttl
EnvironmentNOC_LOGIN_SESSION_TTL

language

Default valueen
YAML Pathlogin.language
Key-Value Pathlogin/language
EnvironmentNOC_LOGIN_LANGUAGE

restrict_to_group

Default value``
YAML Pathlogin.restrict_to_group
Key-Value Pathlogin/restrict_to_group
EnvironmentNOC_LOGIN_RESTRICT_TO_GROUP

single_session_group

Default value``
YAML Pathlogin.single_session_group
Key-Value Pathlogin/single_session_group
EnvironmentNOC_LOGIN_SINGLE_SESSION_GROUP

mutual_exclusive_group

Default value``
YAML Pathlogin.mutual_exclusive_group
Key-Value Pathlogin/mutual_exclusive_group
EnvironmentNOC_LOGIN_MUTUAL_EXCLUSIVE_GROUP

idle_timeout

Default value1w
YAML Pathlogin.idle_timeout
Key-Value Pathlogin/idle_timeout
EnvironmentNOC_LOGIN_IDLE_TIMEOUT

pam_service

Default valuenoc
YAML Pathlogin.pam_service
Key-Value Pathlogin/pam_service
EnvironmentNOC_LOGIN_PAM_SERVICE

radius_secret

Default valuenoc
YAML Pathlogin.radius_secret
Key-Value Pathlogin/radius_secret
EnvironmentNOC_LOGIN_RADIUS_SECRET

radius_server

Default value``
YAML Pathlogin.radius_server
Key-Value Pathlogin/radius_server
EnvironmentNOC_LOGIN_RADIUS_SERVER

register_last_login

Default valueTrue
YAML Pathlogin.register_last_login
Key-Value Pathlogin/register_last_login
EnvironmentNOC_LOGIN_REGISTER_LAST_LOGIN
Default valuenoc_jwt
YAML Pathlogin.jwt_cookie_name
Key-Value Pathlogin/jwt_cookie_name
EnvironmentNOC_LOGIN_JWT_COOKIE_NAME

jwt_algorithm

Default value
HS256

Possible values :

  • HS256
  • HS384
  • HS512
YAML Path
login.jwt_algorithm
Key-Value Path
login/jwt_algorithm
Environment
NOC_LOGIN_JWT_ALGORITHM