vrijdag 18 november 2011

Turn off Home Realm Discovery in ADFS 2.0

Introduction
When you've added another Claims Provider Trust to ADFS, next to ADFS, you'll see the HomeRealmDiscovery page when you try to logon. This page looks like this:






Problem
Most users don't know what to select here. So you wouldn't want them to see this page.


Solution
You can add a setting to your application web.config which tells adfs to use a specific Claims Provider. This setting is called homeRealm. The value can be found in Adfs Management tool. 



<federatedAuthentication>
   <wsFederation
      passiveRedirectEnabled="true"
      issuer="[adfs]"
      realm="[website url]"
      requireHttps="true"
      homeRealm="[Claims provider identifier]" />
   ...
</federatedAuthentication>

Geen opmerkingen:

Een reactie posten