Okta IDP Routing Rule

Hi
I have scenario where I have configured routing rules for Users based on user matching condition while this works fine, the login screen just shows field to input User email.
I wanted to show IDPs on login screen lets say Social Idps such as Microsoft and Google.

Problem is i cant have default OKTA IDP with other configured IDPS when User matching condition is on see below screenshot. My system is based on domain of user such that for different domains i will show different idps that they have configured but also i wanted to show social idps on login screen which complicates things.

I also tried add default rule that will show Social IDPS to user by adding rule with Okta and no user matching condition but when I add user matching condition routing rule precedance takes effect and login screen with only email appears

is their any way i can show Social IDPs on login screen with email entering field as well

Hello @Raju001,

When configuring Routing Rules in Identity Engine, the “AND User matches” field is designed to allow for dynamic matching to an IdP dependent on the conditions you input, domain in this case. Because of this, the ability to add sets of IdPs with buttons is incompatible with using that feature using the Okta default “out of the box” setup.

You can read more about these options here: Configure identity provider routing rules and we’re always open to feature requests for these types of features on our Ideas portal, which you can read about and access through the links provided here: Okta Help Center (Lightning)

1 Like

Hi Thanks for your response

As this was not possible with routing rules, I decided to do changes in Okta Hosted Sign in widget. I am using redirect authentication with Okta Hosted Sign in page. I added button explictly on signin widget as shown in Screenshot.
Few problems that i encountered and would like to get suggestions for them

  1. I wanted to form idp authorization url dyanamically, just like it will happen through routing rule, but OktaUtil object is giving undefined/null object so i am able to get state and code_challenge etc. values.
  2. Even if i use static url in button which starts authentication for idp, i am not able to route to other idps that i have configured for domain, if i use email domain it takes me to password page to enter password but i have configured idps for this domain. I was doing this in preview button when i published i was able to see idps that i configured.
  3. Lastly is their any documentation that i can follow to add idps explictly in Hosted Sign in widget. I am following this one Style the sign-in page | Okta Developer
  4. Also would like to know if adding idps explictly in login page is possible with hosted sigin page.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.