Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: Dineshika on October 16, 2020, 05:12:40 AM

Title: Oauth2 support in roundcube
Post by: Dineshika on October 16, 2020, 05:12:40 AM
Hello,
I'm new to roundcube and I need to use Oauth2 server for authenticate users to roundcube.
I could found this commit which says roundcube is having oauth support.

https://github.com/roundcube/roundcubemail/commit/1e6a2f4f49477be7ac8784b6a137eb181f2eb9f1

However when I install the stable version of roundcube (1.4.9) from https://roundcube.net/download/ it is not having the related oauth2 support codes.

for example, following pages are not found in the stable release.
program/steps/login/oauth.inc,program/include/rcmail_oauth.php

Can anybody tell me why this is happen, Is there any other standard option to user oauth2 authentication with roundcube ?
Any help would be most appreciated ..

Thank You.
Title: Re: Oauth2 support in roundcube
Post by: JohnDoh on October 16, 2020, 11:44:00 AM
OAuth support is currently only available in the git-master version of Roundcube. It will be included in the next major release, version 1.5.
Title: Re: Oauth2 support in roundcube
Post by: Dineshika on October 16, 2020, 12:23:28 PM
Thanks very much for the information, looking forward to use version 1.5
Title: Re: Oauth2 support in roundcube
Post by: arunodhayam on November 20, 2021, 01:37:14 AM
Hi, I have keycloak and the Roundcube both in docker, and my Roundcube docker version is 1.5 this has an Oauth2 configuration in default.inc.php file. I have mostly filled the configurations, But I don't know about the configurations right or not. While opening the round cube on my browser its shows login with keycloak button. But after logging in it doesn't redirect to the Roundcube webmail page, It redirects only to the keycloak page, and I can't enter to RoundCube webmail.

(https://drive.google.com/file/d/1YDt3ahHsX0QhIFleEfc1Eq_--tOqBcqV/view?usp=sharing)