Single Sign-On (SSO)
Single Sign-On (SSO) connects Files.com sign-in to the identity system your organization already uses. Employees can use their organization accounts instead of maintaining separate Files.com passwords. Your identity provider controls their sign-in policy, while Files.com accounts and permissions determine which files and services they can use.
Centralized sign-in gives your identity team one place to enforce password policy and multi-factor authentication (MFA), and to prevent future authentication when someone leaves. With browser-based federation, the organization password stays with the identity provider. Configure automated provisioning as well to maintain Files.com accounts and memberships; sign-in and account lifecycle management are separate jobs.
SSO integrations are available on Power and Enterprise plans. For SAML providers, Files.com supports both SP-initiated and IdP-initiated logins.
Federation and Identity Providers
Federation is a trust relationship between an application and an identity provider. The identity provider (IdP), such as Microsoft Entra ID or Okta, authenticates the person. The application accepting that identity is the service provider (SP); here, that application is Files.com. OpenID Connect uses the term relying party for the application in the same relationship.
An administrator configures which provider Files.com trusts. Files.com verifies the identity information against that connection's settings. With SAML or OpenID Connect, the browser takes the person to the provider to authenticate, and Files.com receives the result without receiving the person's password.
The result still needs to match a Files.com user assigned to that provider. The account can exist already or be created through configured provisioning. Its Groups, folder permissions, administrative permissions, and allowed protocols determine access after sign-in. Successful authentication does not by itself grant access to a folder.
Matching Accounts at Sign-In
When someone first signs in through their assigned SAML, OpenID Connect, or other OAuth provider, Files.com uses the sign-in username to find their Files.com account and records the ID the provider sends for that user. Later sign-ins through the same provider must match both the username and the recorded ID. If someone received a former employee's email address, a different provider ID would keep that person from signing in to the former employee's Files.com account.
A directory change can affect either value. Follow the SSO troubleshooting steps to check which value changed. For the IDs each protocol uses and when Files.com records a new one, see Authentication Methods in Security Reference.
SAML, OAuth, and OpenID Connect
SAML and OpenID Connect are two ways to carry a provider's authentication result to an application. SAML uses a signed assertion: a statement identifying the person and describing their authentication. The identity provider's signing certificate lets Files.com verify that statement.
OAuth 2.0 addresses a different job: granting an application limited access to a service on someone's behalf. OpenID Connect (OIDC) adds a standard identity layer to OAuth 2.0, including an ID token that identifies the authenticated person and the application it was issued for. An access token authorizes service access; an ID token describes authentication. They serve different purposes.
The Use OAuth option for Auth0, Microsoft Entra ID, and Okta configures their OpenID Connect connection. Other provider-specific OAuth integrations obtain identity information through that provider's account service. These are not all interchangeable OIDC connections, and Files.com's generic connection for an unlisted identity provider uses SAML 2.0.
SAML Identity and Attributes
Security Assertion Markup Language (SAML) lets your identity provider tell Files.com who it authenticated without sending Files.com the person's password. After sign-in, the browser carries a SAML response containing an assertion: a signed statement about that person. The assertion includes their identifier and a validity period, and can include profile attributes and group information.
The identity provider signs the response or assertion with its private signing key. Files.com uses the trusted signing certificate from your provider configuration to verify the signature and checks the response against the connection's settings. The certificate contains the public key needed for verification, not the private key needed to sign. This is why obtaining the correct metadata or certificate from your IdP matters: Files.com trusts statements signed by that configured provider.
User Attributes and Groups
Files.com uses the SAML email claim to look up the username when the claim is present. Otherwise, it uses the NameID. Your provider's mappings determine which directory values the assertion carries.
When SCIM provisions the account, make sure the SCIM username matches the value used for the SAML lookup. If SCIM provisioned alex@example.com and the SAML lookup value were alex, Files.com would look for a different account at sign-in.
Additional attributes can supply the user's email address, given name, surname, and initial group memberships during first-login provisioning. Mapping a directory attribute means choosing which directory value the IdP places in the corresponding SAML attribute; it does not copy the directory's file permissions into Files.com. Files.com Groups supply access according to the permissions you assign there.
SAML group information can initialize a newly provisioned user's memberships. SCIM or LDAP synchronization maintains memberships as responsibilities change, including removing old access. A SAML sign-in alone is not ongoing lifecycle synchronization.
Supported SSO Providers
The sign-in protocol and provisioning method are separate choices. First-login provisioning must be enabled in Files.com; background provisioning also requires configuration in your identity system.
| Provider | Sign-In Protocol | Background Provisioning |
|---|---|---|
| Auth0 | SAML 2.0 or OpenID Connect | None |
| Box | OAuth 2.0 with Box account information | None |
| Dropbox | OAuth 2.0 with Dropbox account information | None |
| Duo | SAML 2.0 | SCIM |
| OAuth 2.0 with Google account information | None | |
| JumpCloud | SAML 2.0 | SCIM |
| LDAP / Microsoft Active Directory | LDAP password verification | Hourly LDAP synchronization |
| Microsoft Entra ID | SAML 2.0 or OpenID Connect | SCIM with either sign-in protocol; LDAP provisioning is also available |
| Okta | SAML 2.0 or OpenID Connect | SCIM with either sign-in protocol |
| SAML (any provider) | SAML 2.0 | SCIM when the identity system supports it |
| Slack | OAuth 2.0 with Slack account information | None |
| OneLogin | SAML 2.0 | SCIM |
Automated Provisioning
Automated Provisioning compares SCIM, LDAP synchronization, and first-login account creation. Choose a lifecycle method alongside sign-in so account details, memberships, and deactivation stay aligned with your identity system.
SSO With Parent and Child Sites
Each site's SSO providers apply only to users defined on that site.
A user who belongs to a parent site authenticates through the SSO provider configured on the parent site, even when their access is limited to a child site's paths. You do not need to configure the same provider on child sites.
Configure SSO providers only on the site where your users are defined.
SSO With FTP, SFTP, or WebDAV
Browser-based SSO works with the web, Desktop, and Mobile apps. FTP, SFTP, and WebDAV do not run that browser sign-in flow; use a supported password, LDAP, or key authentication method for protocol access.
Users who need both SSO and protocol access can authenticate with SSO and separately add an SFTP key or API key to their account. Users can add their own keys from My account in the top-right menu.
SSO With the Files.com Desktop and Mobile Apps
The Files.com Desktop App and iOS and Android mobile apps both support SSO login. Authenticate using the SSO provider assigned to your account.
Using Multiple SSO Providers
You can enable more than one SSO provider on a site. Each user belongs to one provider. To give one person access through two providers, create two user accounts for them.
Multiple Instances of the Same Provider
You can configure multiple instances of the same identity provider using SAML. This supports separate authentication setups for different teams or business units within an organization.
For OIDC and other OAuth sign-in connections, only one instance per provider is allowed per site. When the provider returns the user to Files.com after sign-in, the callback identifies the provider type, such as Okta or Microsoft Entra ID, without identifying a separate configured instance.
Keeping one OAuth instance per provider lets Files.com identify the configuration that completes the login. When you need additional instances, configure them with SAML.
Use the Display Name field in Add SSO Provider to identify each instance on the login page and in user authentication details.
If you need separate Files.com applications for different teams, departments, subsidiaries, brands, or projects, Child Sites are the better fit. Each child site runs on its own subdomain with independent content and settings while remaining associated with the primary account. Child sites simplify user management, including provisioning and deprovisioning, by keeping authentication and site settings separate for each group.
Enabling SSO Providers
You can add multiple SSO providers. Choose the connection using the protocol and provisioning comparison above.
To add a provider, go to SSO Providers in site settings, select the provider type, and complete the connection form. Follow the provider-specific setup instructions linked above. Box and Dropbox use the provider sign-in flow after you add them.
One SAML identity provider can serve multiple Files.com sites, including sites in the same Microsoft Entra ID tenant. Give each site's application a distinct Entity ID and audience configuration so sign-in responses identify the intended application. Files.com does not automatically separate SAML applications when you copy their settings to another site.
Assigning User SSO Methods
Once you enable an SSO provider, Site Administrators assign it to users individually, either when creating a new user or by editing an existing user's Authentication Method. Each user can have only one SSO provider assigned.
To assign SSO to an existing user, update the Authentication Method in the user's details and select the SSO provider.
Files.com also supports Bulk Import or Bulk Create for users with any site-enabled SSO providers. Fill the authentication_method column with the name of the SSO provider.
You can mix SSO-authenticated and password-authenticated users on the same site. For example, internal users can authenticate through an SSO provider while external vendors and partners use Files.com passwords.
To switch a user from SSO to password sign-in, select Password in Authentication Method. A username domain configured for public SSO discovery requires SSO with the provider assigned to that domain.
Keep at least one Site Administrator configured with password authentication. A password-authenticated administrator prevents you from being locked out if your identity provider is unavailable.
When manually switching a user's SSO provider, confirm the user's username matches what the new provider will send before making the change. If the username does not correspond to the new provider, Files.com locks the account with no option for the user to reset their own password. The username also stays locked until a Site Administrator changes the authentication method back to a non-SSO method.
Logging in With SSO
An enabled SSO provider appears as a Sign in with... button on your site's login page when Display on login page is on. Users click it to authenticate through the provider and Files.com redirects them to their account.
On first login through an SSO provider, users must authorize the connection. If they don't have an active session with the provider, they must log in there first.
Identity Provider and Files.com Sessions
A session lets a service recognize someone after sign-in without asking for credentials on every action. Browser-based SSO involves separate sessions at the identity provider and Files.com. An existing provider session can let someone enter Files.com without typing their password again; Files.com then maintains its own session under the site's session expiration settings.
Signing out of Files.com ends that Files.com session. If the provider session remains active, choosing SSO again can sign the person back in without another password prompt. Conversely, signing out at the provider does not by itself end an existing Files.com session. Desktop and Mobile app connections also have their own lifetimes.
Single logout (SLO) coordinates sign-out between an identity provider and applications that participate in a logout exchange. Sharing a sign-in provider alone does not provide that coordination. Treat SSO sign-in, session expiration, and account deactivation as separate controls when planning how access ends.
For offboarding, follow the account access-removal guidance, including the credentials and resources that need review.
Hiding an SSO Provider From the Login Page
A Site Administrator can keep an enabled provider off the button list shown to every visitor. In SSO Providers, turn off Display on login page for that provider.
Public SSO discovery is off by default and works independently of Display on login page. With discovery on, Files.com uses the domain in the username entered on your site's web login page to show the provider's usual sign-in button, including its name and branding. Any visitor who enters a username at that domain can see the button before signing in. The identity provider authenticates users after they select the button.
To keep the connection between your site and the provider private, leave discovery off and share the provider's direct sign-in link only with its users. For SAML, users can also sign in from the provider's application portal.
When adding or editing a named SAML or OAuth provider, a Site Administrator can set one discovery domain. Use the exact domain after the @ in the Files.com username. For example, use partner.example.com for alex@partner.example.com. Each discovery domain belongs to one provider on the site.
The domain is reserved across all Workspaces. Every account with that exact username domain must use SSO with the same provider, and every account assigned to the provider must use SSO and have a username at that domain. A provider with email signup groups that let users manage their passwords in Files.com is ineligible for discovery.
Resolve any conflicts before enabling discovery. If the account belongs with this provider, select the provider in Authentication Method and use a username at the discovery domain. If the account needs another sign-in method, use a username outside that domain. For users provisioned by an identity provider, make sure the provisioned username matches the one used for sign-in.
To stop showing the button when visitors enter the domain, turn off public SSO discovery for the provider. This releases the domain while keeping the provider available for sign-in.
SAML Relay State
Files.com sites share a SAML sign-in endpoint. The Relay State value is one of your site's hostnames, and Files.com uses it to select the site whose SAML providers will validate the response.
The hostname can be your Files.com subdomain, a preserved old subdomain, or a custom domain. Relay State routes the sign-in; the provider's SAML trust and audience checks determine whether the response is valid for that provider.
A SAML login starts either at Files.com, called SP-initiated login because Files.com is the service provider, or at your IdP, called IdP-initiated login. In SP-initiated login, the user chooses the Sign in with... button on your Files.com login page. Files.com sets the Relay State in the SAML request it sends and your IdP returns it unchanged, so the Relay State field in your IdP is not used.
In IdP-initiated login, the user opens Files.com from a tile in your IdP's application portal. Files.com sends no SAML request, so your IdP uses the value in its Relay State field. For IdP-initiated login, set the Relay State field in your IdP's Files.com application to your Files.com subdomain or your custom domain. The setup page for your provider names the field.
Starting at Files.com gives the sign-in an explicit application request and destination. Starting at the IdP is convenient for an application portal, but sends an unsolicited response: there is no preceding Files.com request with which to associate it. The signature proves who issued the response, not that the person in that browser intended to begin that sign-in. A person could consequently enter an account they did not intend to use. We recommend starting at Files.com; a portal can link to the Files.com sign-in page instead of sending an unsolicited response.
If the Relay State field is blank or names a hostname your site no longer uses, IdP-initiated logins fail with a Files.com error page. SP-initiated logins are not affected.
Starting Single Sign-On From a Link
To send users directly to your SSO provider instead of showing the Files.com login page, append ?use_sso=1 to any Files.com URL.
For example: https://mysite.files.com/files/MyFolder/?use_sso=1
This works only when exactly one SSO provider is configured on the site.
Monitoring SSO Events
Track SSO login attempts and LDAP sync and login events through Event Channels. Subscribe to SAML Login, LDAP Login, or LDAP Sync events and route them to a SIEM, webhook, Slack, or other target to monitor authentication activity in real time.
For sign-in problems, follow the failed login records guidance to choose between API Logs, SSO Events, and your identity provider's logs. For provisioning activity, SCIM Logs show what was created, updated, or deactivated and when.
Admin email preferences cover LDAP sync failures only. For SAML login failures and LDAP login failures, set up subscriptions in Event Channels.
Switching SSO Providers
Keep the old provider enabled until the new one is fully configured and tested. Disabling it prevents new SSO logins and invalidates existing login sessions for users still assigned to it.
Confirm the new identity provider is supported and follow its integration documentation to enable it on your site.
For a SAML-based provider, confirm with the provider whether the issuer, audience, and username combination can be reused before cutover.
For SCIM, configure the mappings and provisioning with the new provider before cutover. Cutting over without this in place can result in duplicate or disabled users in Files.com.
Once the new provider is configured, update each user's Authentication Method to the new provider. Once all users are updated, disable the old provider.
Disabling an SSO Integration
Disabling an SSO provider prevents new logins through that provider, removes its option from the login page, and invalidates existing login sessions for users assigned to it. Users with separately issued API or SFTP/SSH keys can still connect. To end access through all of a user's credentials, deactivate the Files.com user account through your provisioning process or user administration.
To disable a provider, edit it in SSO Providers and toggle Enabled off.
To remove a provider entirely, first reassign all users configured to use it to another authentication method. You can identify them by the Authentication Method column in the user list. Once you have reassigned all users, you can remove the provider.