radicale-modoboa-auth-oauth2
An authentication plugin for Radicale provided by Modoboa.
Users log in with an OAuth2 access token issued by Modoboa, checked with the introspection endpoint. If it fails, the plugin falls back to Dovecot authentication.
The plugin can also authenticate share links: calendar URLs with a ?token= query parameter, which give read access without an account.
Requirements:
Radicale 3.5.6 or later
Share links: Modoboa 2.11 or later and the radicale-modoboa-rights plugin
Installation
You can install this package from PyPi using the following command:
pip install radicale-modoboa-auth-oauth2
Configuration
Here is a configuration example:
[auth] type = radicale_modoboa_auth_oauth2 oauth2_introspection_endpoint = https://<modoboa>/api/o/introspect/ # Credentials of Radicale's OAuth2 application in Modoboa modoboa_client_id = <client id> modoboa_client_secret = <client secret> # Recommended: avoid one introspection call per CalDAV request cache_logins = True
The client credentials can also be given in the introspection URL (https://<client id>:<client secret>@<modoboa>/api/o/introspect/), as older versions required. Separate settings are preferred: they keep the secret out of URLs, and take precedence when both are set. The password of the URL is masked in logs.
Dovecot settings (dovecot_socket and others) are those of Radicale’s dovecot authentication.
Tests
pip install -e ".[test]" python -m pytest
Metadata
Release files for radicale-modoboa-auth-oauth2 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| radicale_modoboa_auth_oauth2-1.0.0.tar.gz | 15.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| radicale_modoboa_auth_oauth2-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.9 kB
Release files / radicale_modoboa_auth_oauth2-1.0.0.tar.gz
| Download URL | radicale_modoboa_auth_oauth2-1.0.0.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
651fc93b3d0363d982388bdea0987f10367d5291c79ed359a5659bf67444d62d
|
|
BLAKE2b-256 checksum How to use checksums |
4a464f33122659e735489f6bee3cefe590d0151d850b95a46431c37dcf170d27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency logRelease files / radicale_modoboa_auth_oauth2-1.0.0-py3-none-any.whl
| Download URL | radicale_modoboa_auth_oauth2-1.0.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca5c38a062bea5935a6e68778f2a295acad0b9253d2df1a4dfdf7c62962d6613
|
|
BLAKE2b-256 checksum How to use checksums |
b6d4046c7f02338409ccc855fd95e17fbf12b8708bc8993ec1f07b5c176de62a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 29, 2026.
Transparency log