Integrate OneLogin with FileCloud
This article describes how to integrate OneLogin as an SSO provider with FileCloud.
Pre-requisite: mcrypt module must be installed on FileCloud. In Windows, it should be installed by default. In Linux, if mcrypt is not installed, it must be installed
OneLogin: Create App Connector
- Login into OneLogin web UI
- Click on Apps → Add Apps
- Search for "saml test connector" and select the sample connector named "SAML Test Connector (IdP)".
- In the add screen, enter a name to the connector. For example, something like "FileCloud Connector". Click "Save".
- Open the created connector and switch to "Configuration" tab.
- Assuming your FileCloud URL is "https://dev.company.com", fill the following values in the configuration tab.
Configuration Value RelayState
Audience
https://dev.company.com/simplesaml/module.php/saml/sp/metadata.php/default-sp
Recipient https://dev.company.com/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp ACS (Consumer) URL Validator* https://dev.company.com/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp ACS (Consumer) URL* https://dev.company.com/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp - Once the configuration tab is completed, switch to "Parameters" tab.
Add the following four parameters:
Field name Flags Value givenName
Include in SAML accertion First Name
mail
Include in SAML accertion Email
sn Include in SAML accertion Last Name uid Include in SAML accertion Username - Save these changes. Once the save is complete, switch to SSO tab.
- In the SSO tab, note "Issuer URL".
- Download the metadata file from "More Actions" → "SAML Metadata".
- Finally, add users to the newly created "FileCloud Connector" either individually or as group.
Integrate FileCloud with OneLogin SSO
- Login into FileCloud admin UI.
- Navigate to Settings → SSO tab.
- Select default SSO type to be SSO.
Use the following table to fill the SAML configuration.
SAML Settings Value IdP Endpoint URL
"Issuer URL" noted in the previous section in OneLogin SSO tab IdP Username Parameter
uid IdP Email Parameter mail IdP Given Parameter givenName IdP Surname Parameter sn IdP Metadata Copy and the paste the contents of SAML metadata from OneLogin web UI. - Save the changes