I have done some configurations in config file and now system is going to fetch the claims information
<system.identityModel>
<identityConfiguration>
<audienceUris>
<add value="http://localhost:28503/" />
</audienceUris>
<issuerNameRegistry type="System.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<trustedIssuers>
<add thumbprint="1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ1234" name="YourSTSName" />
</trustedIssuers>
</issuerNameRegistry>
<certificateValidation certificateValidationMode="None" />
</identityConfiguration>
</system.identityModel>
<system.identityModel.services>
<federationConfiguration>
<cookieHandler requireSsl="false" />
<wsFederation passiveRedirectEnabled="true" issuer="http://localhost:13922/wsFederationSTS/Issue" realm="http://localhost:28503/" reply="http://localhost:28503/" requireHttps="false" />
</federationConfiguration>
</system.identityModel.services>
Here I am getting below error:
"ID4175: The issuer of the security token was not recognized by the IssuerNameRegistry. To accept security tokens from this issuer, configure the IssuerNameRegistry to return a valid name for this issuer."
All the articles suggest to check the certificate information (Thumbprint and subject name)
I have double check the subject name and Thumbprint of the certificate, so they are correct.
Can anyone help me to fix the same ?
I believe that after fixing the error I will be able to get the claims information.
Please advise.