PHPackages                             cymdeveloppement/roundcube-new-oidc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. cymdeveloppement/roundcube-new-oidc

ActiveRoundcube-plugin[Authentication &amp; Authorization](/categories/authentication)

cymdeveloppement/roundcube-new-oidc
===================================

OpenID Connect login plugin for Roundcube with OIDC logout and auto-redirect support

v1.0.1(3mo ago)015MITPHPPHP &gt;=8.0

Since Apr 8Pushed 3mo agoCompare

[ Source](https://github.com/CymDeveloppement/roundcube-new-oidc)[ Packagist](https://packagist.org/packages/cymdeveloppement/roundcube-new-oidc)[ Docs](https://github.com/CymDeveloppement/roundcube-new-oidc)[ RSS](/packages/cymdeveloppement-roundcube-new-oidc/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Roundcube New OIDC
==================

[](#roundcube-new-oidc)

Fork of [roundcube-oidc](https://github.com/pulsejet/roundcube-oidc) with OIDC logout and auto-redirect support.

This plugin allows you to authenticate users to Roundcube using an OpenID Connect 1.0 provider. There are three modes to run the plugin in:

1. **Cleartext Password**: The OIDC provider must supply the user's password in cleartext, which is then used to login to the IMAP server
2. **Master Password**: In this mode (also falls back to this), a master password is used to login to the IMAP server with the username obtained from OIDC
3. **Master User**: IMAP authentication is done using a master user ([Dovecot](https://doc.dovecot.org/configuration_manual/authentication/master_users/)) with a provided separator

Installation
------------

[](#installation)

```
composer require cymdeveloppement/roundcube-new-oidc
```

Then copy and edit the configuration file:

```
cp plugins/roundcube_oidc/config.inc.php.dist plugins/roundcube_oidc/config.inc.php
```

Configuration
-------------

[](#configuration)

### OIDC Provider

[](#oidc-provider)

OptionTypeDefaultDescription`oidc_url`string`''`URL of the OIDC provider`oidc_client`string`''`Client ID registered on the provider`oidc_secret`string`''`Client secret for the given client ID`oidc_scope`string`'openid'`OIDC scope to request### IMAP Authentication

[](#imap-authentication)

OptionTypeDefaultDescription`oidc_imap_master_password`string`''`Master password fallback if the provider does not supply a cleartext password`oidc_master_user_separator`string`'*'`Separator for Dovecot master user authentication`oidc_config_master_user`string`''`Master user to append after separator. Leave blank to disable### User Fields Mapping

[](#user-fields-mapping)

OptionTypeDefaultDescription`oidc_field_uid`string`'mail'`OIDC claim for login UID (typically an email)`oidc_field_password`string`'password'`OIDC claim for cleartext password`oidc_field_server`string`'imap_server'`OIDC claim for IMAP server address### Login Page

[](#login-page)

OptionTypeDefaultDescription`oidc_login_page`string`''`Path to an alternative login page. Errors are available as `$ERROR``oidc_auto_redirect`bool`false`Automatically redirect to OIDC provider, bypassing the login page### Logout

[](#logout)

OptionTypeDefaultDescription`oidc_logout_url`string`''`OIDC provider logout URL for Single Logout supportExample for Keycloak:

```
$config['oidc_logout_url'] = 'https://auth.example.com/realms/REALM/protocol/openid-connect/logout?post_logout_redirect_uri=https%3A%2F%2Fmail.example.com&client_id=roundcube';
```

SMTP
----

[](#smtp)

Unless cleartext passwords are provided, SMTP must be configured to use no authentication or a master password.

Compatibility
-------------

[](#compatibility)

- Roundcube 1.6+
- PHP 8.0+
- Tested with Keycloak 25+ as OIDC provider

License
-------

[](#license)

MIT License

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance80

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

108d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/024570f0039cd21fa340520a3f616c617734a1634b92a2b5cd137c3954d4c2ec?d=identicon)[cymdev](/maintainers/cymdev)

---

Top Contributors

[![pulsejet](https://avatars.githubusercontent.com/u/10709794?v=4)](https://github.com/pulsejet "pulsejet (41 commits)")[![CymDeveloppement](https://avatars.githubusercontent.com/u/7532413?v=4)](https://github.com/CymDeveloppement "CymDeveloppement (5 commits)")[![arnebr](https://avatars.githubusercontent.com/u/1068416?v=4)](https://github.com/arnebr "arnebr (1 commits)")[![chaserdoe](https://avatars.githubusercontent.com/u/7465274?v=4)](https://github.com/chaserdoe "chaserdoe (1 commits)")

### Embed Badge

![Health badge](/badges/cymdeveloppement-roundcube-new-oidc/health.svg)

```
[![Health](https://phpackages.com/badges/cymdeveloppement-roundcube-new-oidc/health.svg)](https://phpackages.com/packages/cymdeveloppement-roundcube-new-oidc)
```

###  Alternatives

[roundcube/roundcubemail

The Roundcube Webmail suite

7.1k2.4k3](/packages/roundcube-roundcubemail)[toteph42/identity_switch

This plugin allows users to switch between different identities (and check for new mails) in a single Roundcube session.

221.5k](/packages/toteph42-identity-switch)[egroupware/egroupware

EGroupware extends a classic groupware with an integrated CRM-system, a secure file-server and Collabora Online Office.

2951.7k](/packages/egroupware-egroupware)[pimlie/authres_status

This authres\_status plugin checks the Authentication-Results headers of your emails and displays the verification status. The verification status is displayed when you read an email, but you can also add a column to your message list.

424.0k](/packages/pimlie-authres-status)[radialapps/roundcube-oidc

OpenID Connect 1.0 login plugin for roundcube

101.2k](/packages/radialapps-roundcube-oidc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
