Roundcube Community Forum

 

Integrating OAuth2 via Authentik with Docker-deployed RoundcubeMail

Started by Tijjer, March 05, 2025, 10:12:52 AM

Previous topic - Next topic

Tijjer

Hi,

I'm looking for some help with setting up OAuth2 authentication in RoundcubeMail running in Docker, using Authentik as my identity provider. My goal is to provide an internal SSO solution that allows our users to authenticate and authorize across various services within our organization.

Here's my situation:

    Our email servers are hosted on managed webhosting which only supports basic authentication, so I can't modify the email server configurations.
    I want to leverage OAuth2 via Authentik for RoundcubeMail so that our users can log in using our internal SSO.
    I came across the concept of property mapping in Authentik, which seems promising for integrating with applications like Roundcube. However, I'm not entirely sure how to configure it properly for this use case.
    I'm deploying RoundcubeMail using Docker.


Any step-by-step instructions, configuration examples, or tips based on your experience would be greatly appreciated. Thank you in advance for your help!

Best regards,
Tijjer