Replies: 9 comments 5 replies
-
The practice with Radicale appears to be that auth mechanisms are separate plugins (have a look at Arvedui/radicale-dovecot-auth for example). Also there is a long backlog of pull requests, so it might be faster to implement it as a plugin. |
Beta Was this translation helpful? Give feedback.
-
Interested in this, available for help/test. Maybe as a starting point, Modoboa provides a simple token-based mechanism. |
Beta Was this translation helpful? Give feedback.
-
Addtional possible option: handover user authentication to a reverse proxy in front of "radicale" |
Beta Was this translation helpful? Give feedback.
-
Sophisticated user authentication should be handover'ed to reverse proxy, as they have a bunch of authentication options already build-in or available via plug-in modules. |
Beta Was this translation helpful? Give feedback.
-
https://gitlab.mim-libre.fr/alphabet/radicale_oauth/-/blob/dev/oauth2/README.md?ref_type=heads |
Beta Was this translation helpful? Give feedback.
-
Thank you for the URL, will try to migrate to upstream |
Beta Was this translation helpful? Give feedback.
-
Note: I have not tried it myself, but just found it. Let us know how well it works.
|
Beta Was this translation helpful? Give feedback.
-
#1689 merged, please give a try and file additional PRs if required to upstream now. One can also inform maintainers of https://gitlab.mim-libre.fr/alphabet/radicale_oauth/-/blob/dev/oauth2/ that their module is now available in upstream from 3.4.2 onwards. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, upon reviewing the source code, this module sends the password to the OAuth2 server. That usually will not work. It needs to accept an access token instead and check that. See my PR comment. Sorry for having turned the attention to this module and therefore misleading you. |
Beta Was this translation helpful? Give feedback.
-
I suggest implementing an OIDC authentication backend that would deal with bearer tokens.
Should this belong in the main repository, or in a dedicated plugin elsewhere?
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions