diff --git a/modoboa_installer/scripts/files/radicale/config.tpl b/modoboa_installer/scripts/files/radicale/config.tpl index f3c8a853..8071980d 100644 --- a/modoboa_installer/scripts/files/radicale/config.tpl +++ b/modoboa_installer/scripts/files/radicale/config.tpl @@ -70,8 +70,10 @@ [auth] # Authentication method -# Value: none | htpasswd | remote_user | http_x_remote_user -type = radicale_dovecot_auth +# Value: none | htpasswd | remote_user | http_x_remote_user | radicale_dovecot_auth | radicale_modoboa_token_auth +type = radicale_modoboa_token_auth +radicale_modoboa_token_auth_check_url = https://%{hostname}/api/v1/user-calendars/check_token/ +radicale_modoboa_token_auth_token = # Htpasswd filename # htpasswd_filename = users diff --git a/modoboa_installer/scripts/radicale.py b/modoboa_installer/scripts/radicale.py index a0ca3090..c2c7af87 100644 --- a/modoboa_installer/scripts/radicale.py +++ b/modoboa_installer/scripts/radicale.py @@ -34,7 +34,7 @@ def _setup_venv(self): python.setup_virtualenv( self.venv_path, sudo_user=self.user, python_version=3) packages = [ - "Radicale", "radicale-dovecot-auth", "pytz" + "Radicale", "radicale-dovecot-auth", "radicale-modoboa-token-auth", "pytz" ] python.install_packages(packages, self.venv_path, sudo_user=self.user) python.install_package_from_repository(