mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-02-26 17:04:05 +08:00
20 lines
328 B
TOML
20 lines
328 B
TOML
|
#############################################
|
||
|
# JMAP OAuth server configuration
|
||
|
#############################################
|
||
|
|
||
|
[oauth]
|
||
|
key = "__OAUTH_KEY__"
|
||
|
|
||
|
[oauth.auth]
|
||
|
max-attempts = 3
|
||
|
|
||
|
[oauth.expiry]
|
||
|
user-code = "30m"
|
||
|
auth-code = "10m"
|
||
|
token = "1h"
|
||
|
refresh-token = "30d"
|
||
|
refresh-token-renew = "4d"
|
||
|
|
||
|
[oauth.cache]
|
||
|
size = 128
|