Author Topic: Can't Login With Oauth(KeyCloak) Created User  (Read 8259 times)

Offline arunodhayam

  • Newbie
  • *
  • Posts: 6
Can't Login With Oauth(KeyCloak) Created User
« on: November 25, 2021, 02:18:54 AM »
I have keycloak and the Roundcube both are in Docker and hosted under the domain https://keycloak.com and https://roundcube.com
I have integrated the keycloak with Roundcube and done the IMAP and SMTP server configurations.
I can able to log in to Roundcube with my mail server users with help of IMAP and SMTP.
I have created the users in Oauth(keycloak), But I can't log in with Oauth(keycloak) created user.
While logging in with Keycloak created users, It shows Login Failed

Offline arunodhayam

  • Newbie
  • *
  • Posts: 6
Re: Can't Login With Oauth(KeyCloak) Created User
« Reply #1 on: November 25, 2021, 02:26:25 AM »
version: '2'

services:
  roundcubedb:
    image: mysql:5.7
    container_name: roundcubedb_1.5
#    restart: unless-stopped
    volumes:
      - ./db/mysql:/var/lib/mysql
    ports:
      - 34012:5432
      - 33008:3306
    environment:
      - MYSQL_ROOT_PASSWORD=roundcube-mysql-pw
      - MYSQL_DATABASE=roundcubemail

  roundcubemail:
    image: roundcube/roundcubemail:1.5-beta-apache
    container_name: roundcubemail_1.5
#    restart: unless-stopped
    depends_on:
      - roundcubedb
    links:
      - roundcubedb
    volumes:
      - ./www:/var/www/html
    ports:
      - 9001:80
    environment:
      - ROUNDCUBEMAIL_DB_TYPE=mysql
      - ROUNDCUBEMAIL_DB_HOST=roundcubedb
      - ROUNDCUBEMAIL_DB_PASSWORD=roundcube-mysql-pw
      - ROUNDCUBEMAIL_SKIN=elastic
      - ROUNDCUBEMAIL_DEFAULT_HOST=ssl://mailserver.mydomain.com
      - ROUNDCUBEMAIL_DEFAULT_PORT=993 
      - ROUNDCUBEMAIL_SMTP_SERVER=ssl://mailserver.mydomain.com
      - ROUNDCUBEMAIL_SMTP_PORT=465

The above is my Docker-compose.yml file

Offline arunodhayam

  • Newbie
  • *
  • Posts: 6
Re: Can't Login With Oauth(KeyCloak) Created User
« Reply #2 on: November 26, 2021, 05:33:20 AM »
Guys please help with this