I am developing a test application to display authenticated authentication claims in MVC-ASP.net (Visual studio 2013) I gave authentication from the active directory as follows.
1. Add a new mvc project to the solution. 2. Click "Change Authentication." 3. Select an organization account 4. Select on premises. 5. Enter the Federation URL 6.App Id url
After starting the application, I get the following error.
WIF10201: The correct key mapping was not found for securityToken: "System.IdentityModel.Tokens.X509SecurityToken" and issuer: http://websso.avanade.com/adfs/services/trust '
This error is only suitable for this federation, for another federation. I can see the claims.
After searching the Internet, I think this is a problem with the certificate (fingerprint). But I do not understand the solutions.
Can someone explain to me why this error throws and a solution for the same.
Thanks in advance!
source share