# How to get list of IDP provider's domains

**URL:** <https://community.auth0.com/t/how-to-get-list-of-idp-providers-domains/133587>\
**Category:** Get Help\
**Tags:** application, sso\
**Created:** [May 7, 2024, 11:41am UTC](https://community.auth0.com/t/how-to-get-list-of-idp-providers-domains/133587 "2024-05-07T11:41:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![User10234](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@User10234](https://community.auth0.com/u/User10234)\
**Post date:** [May 7, 2024, 11:41am UTC](https://community.auth0.com/t/how-to-get-list-of-idp-providers-domains/133587/1 "2024-05-07T11:41:40Z")

</div>

I want to get the list of identity provider domain names on my backend so I can route users properly to default database-connection sign up or to IDPs.

On the picture you can see the flow i need

 ![image](https://global.discourse-cdn.com/auth0/original/3X/c/0/c041dea5d1c77eb21fe9ee352b292a3700ca6148.jpeg)

Also, I know that okta has this feature: [Identity Providers](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/IdentityProvider/#tag/IdentityProvider/operation/listIdentityProviders)

PS. I found 2 endpoints that are close to what i want but still does not match what i need:  
api/v2/custom-domains  
api/v2/connections

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [May 7, 2024, 1:32pm UTC](https://community.auth0.com/t/how-to-get-list-of-idp-providers-domains/133587/2 "2024-05-07T13:32:11Z")

</div>

Hi @User10234

Welcome to the Auth0 Community!

Thank you for posting your question. Your issue is connected to the Okta platform rather than Auth0. I encourage you to pass your question on to the Okta Community → [Okta Help Center (Lightning)](https://support.okta.com/help/s/community?language=en_US), where experts can address your issue directly.

Thank you!  
Dawid

---

<div class="post-metadata">

**Author:** ![User10234](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@User10234](https://community.auth0.com/u/User10234)\
**Post date:** [May 7, 2024, 1:40pm UTC](https://community.auth0.com/t/how-to-get-list-of-idp-providers-domains/133587/3 "2024-05-07T13:40:21Z")

</div>

Hi @dawid.matuszczyk!

Thank you for you answer!

I attached the link to okta only to show what i needed. I’m interested in auth0 solution to get the list of IDPs

Thanks!

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [May 7, 2024, 1:59pm UTC](https://community.auth0.com/t/how-to-get-list-of-idp-providers-domains/133587/4 "2024-05-07T13:59:59Z")

</div>

Sorry for the confusion. So I’ve checked in detail our endpoints on the Management API and the api/v2/connections → [Auth0 Management API v2](https://auth0.com/docs/api/management/v2/connections/get-connections) is the most similar to the example from Okta that you provided. It allows you to filter by the strategy, so based on that, you should be able to fetch the necessary data to navigate users correctly.

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [May 21, 2024, 2:00pm UTC](https://community.auth0.com/t/how-to-get-list-of-idp-providers-domains/133587/5 "2024-05-21T14:00:51Z")

</div>

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