Getting an error "An internal error has occurred..." with SSO login to OneLogin
Original Question or Issue:
When setting up SSO authentication with OneLogin, you get an "An internal error has occurred..." error
Environment:
- Product - FileCloud Server
- Version - Any
- Platform - Any
Steps to Reproduce:
Error or Log Message:
Defect or Enhancement Number:
Cause:
Incorrect Alias directory in the httpd-filecloud.conf file
Resolution or Workaround:
Windows
-
Navigate to the following directory
c:\xampp\apache\conf\extra
-
Open the following file for editing
httpd-filecloud.conf
-
Add the following line at the end of the file
Alias /simplesaml "/xampp/htdocs/thirdparty/simplesaml/www"
- Save the file.
- Open the FileCloud Control Panel.
- Use the control panel to stop and start the Webserver.
Linux
-
Go to the following directory:
/etc/apache2/sites-enabled/
-
Open the following file for editing:
000-default.conf
-
Add the following line within <VirtualHost *:80> for HTTP connection or <VirtualHost *.443> for HTTPS connection. You can place it under the line DocumentRoot /var/www/html.
Alias /simplesaml /var/www/html/thirdparty/simplesaml/www --→ (Ubuntu 22.04 and higher versions)
-
To restart the apache webserver, run the following command:
/etc/init.d/apache2 restart
Notes: