To enable and configure the Auth0 Single Sign-On (SSO) feature available on Files.com Enterprise and Enterprise Premier plans, you will need three things:
- A Files.com plan that supports the Auth0 SSO feature
- Administrator access to your Files.com site
- Administrator access to your Auth0 account
Adding Files.com in Auth0
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.
Next, click the Settings tab of the newly created application, and enter the following URL 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
After logging in to your Files.com account as an administrator, navigate to Settings > Security > SSO Providers, and click the Add provider button. Click to select the Auth0 provider.
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.