Auth0 SSO
Files.com supports Single Sign-On with Auth0 using either SAML or OpenID Connect. We recommend SAML whenever possible because it accommodates a broader range of use cases. Instructions for both protocols follow.
Adding Files.com in Auth0 via SAML
After logging in to your Auth0 account as an administrator, navigate to Dashboard -> Applications -> Applications and select Create Application.
Select the option for Regular Web Application, give the application a name, and click Create.
Next, navigate to Addons and enable the SAML2 Web Application toggle. Navigate to Addon: SAML2 Web App -> Settings, enter https://app.files.com/saml/consume for the Application Callback URL, and scroll to the bottom of this window to press Enable.
Next, navigate to Addon: SAML2 Web App -> Usage, and click to download the Identity Provider Metadata. You will use this file to connect to your Files.com site.
Adding Auth0 in Files.com via SAML
Select Auth0 as the provider from the SSO providers list.
In the Add provider form, select the Use SAML option. Under Connect to SAML provider via, select Metadata XML file, and upload the Identity Provider Metadata XML file you downloaded from Auth0.
Lastly, click the Save button to apply the change.
The Auth0 SSO method will now be available when assigning an authentication method for a user in Files.com, and the Sign in with Auth0 button will be displayed on your site's login page.
Keep at least one site administrator on password authentication rather than assigning all administrators to SSO. This prevents being locked out of Files.com in the event of an IdP or SSO outage.
Adding Files.com in Auth0 via OpenID Connect
After logging in to your Auth0 account as an administrator, navigate to Applications and click the Create Application button.
Click to select the Regular Web Applications application type, and click the Create button.
Click the Settings tab of the newly created application, and enter the URL https://app.files.com/login_from_oauth?provider=auth0 in the Allowed Callback URLs field.
Click the Save Changes button to apply the change. Next, click the copy icon next to the Client ID to copy it. Keep this browser tab open, as you'll be returning here to copy the Client Secret later.
Adding Auth0 in Files.com via OpenID Connect
Log in to your Files.com account as a site administrator. Select Auth0 as the provider from SSO providers list.
In the Add provider form, enter your Auth0 subdomain into the Subdomain field, and paste the Client ID you copied in the previous step into the Client ID field.
Back in Auth0, click the copy icon next to the Client Secret to copy it, and paste it into the Client secret field in Files.com. Lastly, click the Save button to apply the change.
The Auth0 SSO method will now be available when assigning an authentication method for a user in Files.com, and the Sign in with Auth0 button will be displayed on your site's login page.
Provisioning Users Automatically
Just In Time (JIT) provisioning creates a user record on Files.com on the user's first successful login when enabled for the provider. To enable it, edit the Auth0 provider in Files.com, select Use JIT Provisioning under Provisioning Method, and save. JIT can create users, but it cannot delete or disable them. See JIT Provisioning for account defaults and setup details.
IdP-Initiated Single Sign On (SSO)
We recommend starting sign-in at Files.com; an Auth0 application portal can link to your Files.com sign-in page. When your organization requires a flow that starts at Auth0, follow its IdP-initiated SAML configuration.
First, ensure your connection between Auth0 and Files.com is set up as SAML as opposed to OpenID Connect. Then, follow the directions in the Auth0 guide and select SAML as the Response Protocol for the connection.