| 1 |
Mailcow |
| 2 |
------- |
| 3 |
|
| 4 |
To register the app with Mailcow, follow the applicable sections of the guide |
| 5 |
for Nextcloud authentication in the Mailcow documentation:: |
| 6 |
|
| 7 |
https://docs.mailcow.email/third_party/nextcloud/third_party-nextcloud/ |
| 8 |
|
| 9 |
The scope ``profile`` is used automatically and not configurable. |
| 10 |
|
| 11 |
.. code-block:: python |
| 12 |
|
| 13 |
SOCIALACCOUNT_PROVIDERS = { |
| 14 |
"mailcow": { |
| 15 |
# Server to which to authenticate. Default value: https://hosted.mailcow.de |
| 16 |
"SERVER": "https://<mailcow-hostname>", |
| 17 |
# Definition of the app with the client ID and secret configured in Mailcow |
| 18 |
"APP": { |
| 19 |
# ... |
| 20 |
} |
| 21 |
} |
| 22 |
} |