Skipping the Home Realm Discovery Page for ADFS authentication

半城伤御伤魂 提交于 2021-01-29 08:33:05

问题


I am using ASP.net MVC open id connecto to authenticate user with ADFS. Whenever I hit application url It redirects to ADFS Home Realm Discovery page where we see multiple IDP (Client Accounts) to sign in. How could we by pass this page and go directly to repsective IDP's login page depending on subdomain in URL.

For eg, if I have a couple of clients (tenant) 1. Cloud Network Pvt Ltd 2.Cloud ddns and I could see a couple of on-premise AD. If the user hits "cloudddns.myapp.com" then it should show on that client's ADFS sign in page.


回答1:


You can map a RP to an IDP.

e.g. all users of RP A will use the Fabrikam IDP to authenticate.

The command is:

Set-AdfsRelyingPartyTrust -TargetName "RP A" -ClaimsProviderName @("Fabrikam","Active Directory")

Would that work for you?



来源:https://stackoverflow.com/questions/54141112/skipping-the-home-realm-discovery-page-for-adfs-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!