Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/FAQ/General questions

Using multiple identity providers in the same vault

Last updated on 9 December 2024

Admin

Overview

  • Can we use multiple identity providers with Open ID Connect?

Yes. Each identity provider needs its own configuration in M-Files and they all require a separate DNS name for the vault, so M-Files can pick the correct configuration based on the DNS name that a user uses to connect to the service. 

  • Can we mix authentication methods, like LDAP and Open ID Connect?

Yes. You can use the configuration's scope to decide in which cases Open ID is used and in other cases M-Files will use regular LDAP (AD) authentication and/or M-Files authentication. Also, LDAP authentication, which is not based on AD, can be used in addition to all the other options. It also requires its own federated authentication configuration with its own DNS name.

  • If we use multiple identity providers what is the user experience? Are users presented with choice of identity provider to use or does M-Files select the identity provider based on email domain for example?

The Web clients can show a list of available login methods, but Desktop and Mobile can't. This is why it is best to use separate DNS names for each federated authentication configuration.

For example, let's say we have a vault called dms, and we want to configure it to use AD, Entra ID (Azure AD), Okta and LDAP for authentication. We could register the following DNS names:
dms.company.com (use this for regular AD and M-Files authentication, no extra configuration required)
dms-aad.company.com (add a configuration in M-Files Admin, whose scope is Host:dms-aad.company.com:Windows)
dms-okta.company.com (add a configuration in M-Files Admin, whose scope is Host:dms-okta.company.com:Windows)
dms-ldap.company.com (add a configuration in M-Files Admin, whose scope is Host:dms-ldap.company.com:Windows)


With the host names specified in each configuration's scope, M-Files will only apply that particular configuration when a user connects to the service with the specified host name.

Note: in a cloud vault, you cannot use regular on-premises AD. You would need to use Entra ID (AAD) or AD FS instead.

Refer to these documents for more information:

Configuring OpenID Connect and OAuth 2.0 for M-Files Authentication.pdf

/article/Azure-AD-configuration-process-for-on-premises-deployments

Still need help?