An internal error has occurred while processing your request SSO login issue
Summary: When attempting to log in via SSO (SAML), FileCloud returns "An internal error has occurred while processing your request" because the Apache Alias /simplesaml directive is missing from the server's Apache configuration file. Adding the correct alias directive for your OS and restarting Apache resolves the error.
Original Question or Issue:
Getting the error "An internal error has occurred while processing your request" when trying to login via SSO.
Environment:
- Product - FileCloud Server
- Version - Any
- Platform - Any
Steps to Reproduce:
- Configure FileCloud Server with SAML SSO enabled.
- Attempt to log in via the SSO/SAML login flow.
- Observe the error: "An internal error has occurred while processing your request."
Error or Log Message:
The following error is displayed in the browser or FileCloud UI when attempting to log in via SSO:
An internal error has occurred while processing your request
Defect or Enhancement Number:
Cause:
The Alias /simplesaml directive is missing from the Apache configuration file. Without this alias, Apache cannot route requests to the SimpleSAMLphp library used by FileCloud for SAML-based SSO, resulting in an internal server error during the login process.
Resolution or Workaround:
Ensure the following Alias directive is added to the appropriate Apache configuration file for your operating system, then restart the Apache service:
- Alias /simplesaml "/xampp/htdocs/thirdparty/simplesaml/public"
Ubuntu: /etc/apache2/sites-enabled/default-ssl.conf
RHEL: /etc/httpd/conf.d/ssl.conf
- Alias /simplesaml "/var/www/html/thirdparty/simplesaml/public"
Notes:
More details can be found in the "Configure Apache Webserver" section under the SAML configuration documentation.