Hi,
I am returning 2 Claims from the STS Application (Name & Role) but RP is only showing 1 claim (Name).
FederationMetadata.xml is Issuing those two claims. What am I missing:
My STS code looks like this:
protected override IClaimsIdentity GetOutputClaimsIdentity( IClaimsPrincipal principal, RequestSecurityToken request, Scope scope )
{
if ( null == principal )
{
throw new ArgumentNullException( "principal" );
}
ClaimsIdentity outputIdentity = new ClaimsIdentity();
outputIdentity.Claims.Add( new Claim( System.IdentityModel.Claims.ClaimTypes.Name, principal.Identity.Name ) );
& ...
Go to the complete details ...