Multi IDP SSO login doesn't work properly
Original Question or Issue:
Multi IDP SSO configuration doesn't work properly when second IDP users are trying to login
Environment:
- Product - FileCloud Server
- Version - Any
- Platform - Windows, Linux
Steps to Reproduce:
Configure Multi IDP SSO setup and try to login using an email ID from the second IDP provider
Error or Log Message:
Defect or Enhancement Number:
Cause:
The redirection to the second IDP should happen automatically when the email ID of the user from the second SSO IDP is typed in the login page, and not by clicking the button "Login with SSO".
Resolution or Workaround:
For Multi IDP SSO configuration to work both the below configuration parameter should be added to respective configuration file.
In Linux: /var/www/html/config/idpconfig.php:
In Windows: xampp\htdocs\config\idpconfig.php
define("TONIDOCLOUD_SAML_EMAIL_DOMAINS_1","domain1.tld,domain2.tld");
In Linux: /var/www/html/config/cloudconfig.php:
In Windows: xampp\htdocs\config\cloudconfig.php
define("TONIDOCLOUD_SAML_DOMAINS_ALLOWED", "domain1.tld,domain2.tld");
Notes: