Author Topic: Keycloak integration with roundcube  (Read 115 times)

Offline 4m3n

  • Newbie
  • *
  • Posts: 1
Keycloak integration with roundcube
« on: June 11, 2024, 05:39:10 AM »
Hello there,
I was using ISPConfig3 with roundcube(v1.6). I add keycloak as oauth provider and fill the required fields. After a successful authentication in keycloak it leads me to login page again with "login error" message. when i try to see logs i get these logs:

<9sicllrb> IMAP Error: Login failed for jo@zergaw.local against localhost from 10.123.5.5. AUTHENTICATE XOAUTH2: A0001 NO [ALERT] Unsupported authentication mechanism. in /usr/share/roundcube/program/lib/Roundcube/rcube_imap.php on line 201.

Is there any one who can help me?

regards,

Offline alec

  • Hero Member
  • *****
  • Posts: 1,367
Re: Keycloak integration with roundcube
« Reply #1 on: June 11, 2024, 09:38:15 AM »
You have to make your IMAP and SMTP servers know how to authenticate a user using an OAuth token.