Updated upgrade instructions

This commit is contained in:
Antoine Nguyen
2024-08-02 15:18:21 +02:00
parent 6554d420e0
commit 01bc6ee625
2 changed files with 10 additions and 2 deletions
+6 -2
View File
@@ -274,7 +274,11 @@ On success, you should see an output similar to::
client_secret: XXXX
To enable OAuth2 authentication in Dovecot, edit the :file:`conf.d/10-auth.conf`
file and add the following line at the end::
file and update the auth_mechanisms line as follows::
auth_mechanisms = plain login oauthbearer xoauth2
Then, add the following line at the end::
!include auth-oauth2.conf.ext
@@ -291,7 +295,7 @@ Finally, create a file named :file:`conf.d/dovecot-oauth2.conf.ext` with the
following content::
introspection_mode = post
introspection_url = http://dovecot:<client_secret>@localhost/api/o/introspect/
introspection_url = https://dovecot:<client_secret>@<hostname of your server>/api/o/introspect/
username_attribute = username
tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt
active_attribute = active
+4
View File
@@ -306,6 +306,10 @@ by default.
'rest_framework.authentication.SessionAuthentication',
),
Save your modifications at this point and run the :ref:`post upgrade
commands <post_upgrade_commands>` now.
Then, apply this last modification to your settings:
- Run the commands indicated :ref:`in the first section <post_upgrade_commands>`
then add the following content after ``MEDIA_ROOT``: