You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(backend:auth): Allow the LDAP mail attribute to be used as the login attribute, and allow users to authenticate using either the login attribute or their email address
#secure: defines if the connection should use SSL (if true) or not (if false)
63
-
#note: setting `secure: false` does not necessarily mean messages are sent in plaintext
64
-
#if the server supports STARTTLS, the connection is usually upgraded to TLS automatically
62
+
#Defines if the connection should use SSL (if true) or not (if false)
63
+
#Note: setting `secure: false` does not necessarily mean messages are sent in plaintext
64
+
#If the server supports STARTTLS, the connection is usually upgraded to TLS automatically
65
65
# default: `false`
66
66
secure: false
67
67
# ignoreTLS: if true, disables the use of STARTTLS even if the server advertises it
@@ -70,43 +70,43 @@ mail:
70
70
# rejectUnauthorized: reject the connection if the server's TLS certificate is invalid
71
71
# default: false
72
72
rejectUnauthorized: false
73
-
#enable logger
73
+
#Enable logger
74
74
# default: `false`
75
75
logger: false
76
-
#set log level to debug
76
+
#Set log level to debug
77
77
# default: `false`
78
78
debug: false
79
79
auth:
80
80
# adapter : `mysql` | `ldap`
81
81
# default: `mysql`
82
82
method: mysql
83
-
#key used to encrypt user secret keys in the database
84
-
#optional, but strongly recommended
85
-
#warning: do not change or remove the encryption key after MFA activation, or the codes will become invalid
83
+
#Key used to encrypt user secret keys in the database
84
+
#Optional but strongly recommended
85
+
#Warning: do not change or remove the encryption key after MFA activation, or the codes will become invalid
86
86
encryptionKey: changeEncryptionKeyWithStrongKey
87
-
#multifactor authentication
87
+
#Multifactor authentication
88
88
mfa:
89
-
#totp configuration
89
+
#TOTP configuration
90
90
totp:
91
-
#enable TOTP authentication
91
+
#Enable TOTP authentication
92
92
# default: true
93
93
enabled: true
94
-
#name displayed in the authentication app (FreeOTP, Proton Authenticator, Aegis Authenticator etc.)
94
+
#Name displayed in the authentication app (FreeOTP, Proton Authenticator, Aegis Authenticator etc.)
95
95
# default: Sync-in
96
96
issuer: Sync-in
97
97
# cookie sameSite setting: `lax` | `strict`
98
98
# default: `strict`
99
99
cookieSameSite: strict
100
100
token:
101
101
access:
102
-
#used for token and cookie signatures
102
+
#Used for token and cookie signatures
103
103
# required
104
104
secret: changeAccessWithStrongSecret
105
105
# token expiration = cookie maxAge
106
106
# default: `30m`
107
107
expiration: 30m
108
108
refresh:
109
-
#used for token and cookie signatures
109
+
#Used for token and cookie signatures
110
110
# required
111
111
secret: changeRefreshWithStrongSecret
112
112
# token expiration = cookie maxAge
@@ -120,10 +120,13 @@ auth:
120
120
# filter, e.g: (acl=admin)
121
121
filter:
122
122
attributes:
123
-
# login attribute: `uid` | `cn` | `sAMAccountName` | `userPrincipalName`, used to authenticate the user
123
+
# Login attribute used to construct the user's DN for binding.
124
+
# The value of this attribute is used as the naming attribute (first RDN) when forming the Distinguished Name (DN) during authentication
125
+
# login: `uid` | `cn` | `mail` | `sAMAccountName` | `userPrincipalName`, used to authenticate the user
124
126
# default: `uid`
125
127
login: uid
126
-
# email attribute: `mail` or `email`
128
+
# Attribute used to retrieve the user's email address
129
+
# email: `mail` or `email`
127
130
# default: `mail`
128
131
email: mail
129
132
# adminGroup: The CN of a group containing Sync-in administrators (e.g., administrators)
@@ -148,14 +151,14 @@ applications:
148
151
# enable onlyoffice integration
149
152
# default: false
150
153
enabled: false
151
-
#for an external server (e.g., https://onlyoffice.domain.com), remember the url must be accessible from browser!
152
-
#if externalServer is empty (case of official docker compose), we use the local instance
154
+
#For an external server (e.g., https://onlyoffice.domain.com), remember the url must be accessible from browser!
155
+
#If externalServer is empty (case of official docker compose), we use the local instance
153
156
# default: null
154
157
externalServer:
155
-
#secret used for jwt tokens, it must be the same on the onlyoffice server
158
+
#Secret used for jwt tokens, it must be the same on the onlyoffice server
0 commit comments