I have successfully configured ADFS 2.0 on Windows Server 2012, and let it trust with my Web Application (ASP.NET MVC 4), but now I receive two default claims from ADFS, authenticationmethod
and authenticationinstant
.
All I configure in the ADFS console -> issues claims with my application doesn't work (like email,phone number).
I try to edit web.config, add the node claimType
like below.
<system.identityModel>
<identityConfiguration>
<claimTypeRequired>
<claimType type=URI optional=xs:boolean >
</claimType>
</claimTypeRequired>
</identityConfiguration>
</system.identityModel>
But it throws an exception "Unrecognized element 'claimTypeRequired'"
.
Did I miss any step?