Skip to content

OIDC/OAuth Support #40

Open
Open

Description

@iwilltry42

Hey!

Thanks for this great app.
I'm wondering what changes would be necessary to use this with Roundcube OIDC support.
I have my Nextcloud configured as OIDC Provider (could as well be an external OIDC provider though).
My Mailserver is Stalwart.
Now I have Roundcube running and setup to authenticate to Nextcloud via OIDC (that passes the token on to Stalwart for Login, but that detail shouldn't matter here).

Roundcube is accessible on cloud.me.com/roundcube and works just fine with OIDC Login when I access it directly.
However, it does not work when accessing it via the Roundcube App in Nextcloud.
I assume/hope there could be some option that the App can re-use the OIDC/OAuth session stored in the browser to login?

What do you think?

Activity

  1. amessina commented on Aug 23, 2025

    @amessina

    @iwilltry42 I am also looking for this feature, were you able to figure out how to do it?

  2. iwilltry42 commented on Aug 24, 2025

    @iwilltry42
    Author

    @amessina yeah, I just disabled the automatic login altogether right in the plugin code in my instance.
    That allows me to have the normal login screen of Roundcube, which has OIDC enabled - log in once and then the session persists just like in a normal browser window.

  3. amessina commented on Aug 24, 2025

    @amessina

    Smart thinking!

  4. amessina commented on Aug 28, 2025

    @amessina

    I'd like to reopen this for future requests. Especially... im not able to get Nextcloud contacts to pull in via RCMCardDAV and user_oidc.

  5. rotdrop commented on Oct 15, 2026

    @rotdrop
    Owner

    3. @amessina yeah, I just disabled the automatic login altogether right in the plugin code in my instance.
    That allows me to have the normal login screen of Roundcube, which has OIDC enabled - log in once and then the session persists just like in a normal browser window.

    Perhaps the merged PR #58 which optionally disables the automatic login sort of fixed this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions