Multiple Identity providers for SSO

BartoszN
Tera Contributor

Hello Experts,

 

Due to the business need we need to create 2nd Identity provider, for users that does not exist into the 1st one.

 

We have created and susessfully connect, but having the challange.

 

Right now we are having 2 Identity providers that are running in the same time, and the problem is "Auto Redirect IdP" if we set this for 1st one then users from 2nd sso are not able to login, then setting this as true for 2nd SSO, users from 1st sso are not able to login, did anyone of You had the similar case ? 

 

Anyone is able to help with it ? 

 

Thank You !

4 REPLIES 4

Najmuddin Mohd
Mega Sage

Hello @BartoszN 

Can you try the below guide

https://davidmac.pro/posts/2023-02-21-login-multiple-sso/

If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.

Mahathi
Mega Sage
Mega Sage

Hi @BartoszN,

It actually depends on the Identity provider and authentication framework.
You can try using domain based routing like if they have distinct email domains. If different IDPs are having distinct email domains , you can redirect based on domain entered.

One could be modifying the Login URL with some difference. ?idp1 idp2

If my answer helped in any way, please mark it as Correct & 👍Helpful

Regards, 
Mahathi





Najmuddin Mohd
Mega Sage

Hi @BartoszN ,

This is the article all you need.

https://www.servicenow.com/community/developer-forum/auto-redirect-users-to-correct-idp-when-using-m...

If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.

Mahathi
Mega Sage
Mega Sage

@BartoszN : were you able to figure out the solution?

Regards,
Mahathi