1 (edited by stepm65 2023-04-10 12:38:36)

Topic: SOGO+SSO+Keycloak

- iRedMail version (check /etc/iredmail-release): 1.3.2 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
Hello everyone
I'm trying to configure SSO for SOGo using KeyCloak. When I add the configuration about SAML to the configuration file sogo.conf and restart the services, I get the error 502 Bad Gateway. Maybe someone implemented it? can you share your configuration experience or configuration files?
P.S. I turned on debugging mode everywhere and there is nothing interesting in the logs!

Post's attachments

conf.tar 30 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.


Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.


Re: SOGO+SSO+Keycloak

Better get support from SOGo developers: https://www.sogo.nu/support.html


Re: SOGO+SSO+Keycloak

Thanks for the link, but there is no information on setting up SSO SAML 2! Does anyone have a sogo.conf with the saml 2 settings block. when I add to my config file, I get a 502 error!


Re: SOGO+SSO+Keycloak

I managed to configure it! The topic can be closed!


Re: SOGO+SSO+Keycloak

stepm65 wrote:

I managed to configure it! The topic can be closed!

Would you mind sharing the solution to this community?