Skip to main content
aiken
Expert ⭐️
Oct 27, 2026 11:51 PM UTC
Solved

What happens : Two way authentications is enabled?

Hi Community members,
I have one question related to user’s authentication on Gainsight CS.

In the situation as below capture, both DB and SAML auth are enabled, what will happens?

I am expecting that it works as below:
1. SAML auth is work as primary auth way.
2. DB auth doesn’t work in normal situation.
3. Once IdP of SAML is down, still GS user can log in to Gainsight by using DB auth (ID + PW).

Is my understanding correct?
If not, please let me know the correct behavior, thanks! 

​​​​​​​

Mdsingh
MdsinghAnswer
Gainsight Employee ⭐️
Oct 29, 2026 10:34 AM UTC

Hello ​@aiken,

Your understanding is correct with these refinements:

  • SAML takes precedence for users whose email domain is mapped to SAML. They see “Single Sign-On Enabled” and are redirected to the identity provider.
  • DB is not an automatic fallback when SAML fails. It remains available for users whose domains are not mapped to SAML.
  • IdP outage behavior is different. Don’t assume users on the SAML-mapped domain can bypass SAML and use DB credentials.

Recommended approach:Keep DB enabled only if external, contractor, partner, or other non-SAML-domain users need access

I hope this helps! 

 

Thanks, 

Mudita Singh

2 replies

Mdsingh
Gainsight Employee ⭐️
MdsinghAnswer
Gainsight Employee ⭐️
Oct 29, 2026 10:34 AM UTC

Hello ​@aiken,

Your understanding is correct with these refinements:

  • SAML takes precedence for users whose email domain is mapped to SAML. They see “Single Sign-On Enabled” and are redirected to the identity provider.
  • DB is not an automatic fallback when SAML fails. It remains available for users whose domains are not mapped to SAML.
  • IdP outage behavior is different. Don’t assume users on the SAML-mapped domain can bypass SAML and use DB credentials.

Recommended approach:Keep DB enabled only if external, contractor, partner, or other non-SAML-domain users need access

I hope this helps! 

 

Thanks, 

Mudita Singh

Translate
aiken
aikenAuthor
Expert ⭐️
Oct 29, 2026 11:48 PM UTC

Hi ​@Mdsingh , thanks for your comment and correcting me :-)
Now that I can understand the behavior clearly.


So, in case some issues happen on IdP, what I can do is preparing a root(admin) account with only authenticating by DB, not by SAML. In normal situation, I don’t use this account, but if some trouble happens with SAML auth, I can log  into Gainsight CS by using this root account.

If I am saying something strange, please let me know, thanks!

Translate