Support for SamlNameIdentifierClaimResource
See original GitHub issueHi
We used to have support for SamlNameIdentifierClaimResource in the .NET Framework. I see that it is internal class in WCF.NET Core.
private static string FindClaim(AuthorizationContext authorizationContext)
{
foreach (ClaimSet claimSet in authorizationContext.ClaimSets)
{
foreach (Claim claim in claimSet.FindClaims(ClaimTypes.NameIdentifier, Rights.Identity))
{
SamlNameIdentifierClaimResource resource = claim.Resource as SamlNameIdentifierClaimResource;
if (resource != null)
{
return resource.Name;
}
}
}
return null;
}
Above is a piece of code that we used to depend on. How to do this in WCF.NET Core.
Please provide inputs.
Issue Analytics
- State:
- Created 5 months ago
- Comments:5
Top Results From Across the Web
ADFS 2.0 simpleSAML issue: More than one claim based ...
I have sucessfully set up the relaying party, from the sp app i get redirected to the idp, i can authentify, but upon...
Read more >SSO setup - ADFS (SAML 2.0)
Fill out this contact form to trial or subscribe to the SSO feature. ... than one SamlNameIdentifierClaimResource-based claim was produced ...
Read more >ADFS 2.0, Event ID - 186, Error : The Federation Service ...
Hi Friends,. I am getting event error 186 and after Adding new relaying party in ADFS 2.0 Server. Please help. The Federation Service...
Read more >SamlNameIdentifierClaimResour...
A URI that states the subject of a SAML assertion is specified using a Windows domain account. The Format property corresponds to the...
Read more >[P0] Support System.IdentityModel.Tokens. ...
[P0] Support System.IdentityModel.Tokens.SamlNameIdentifierClaimResource #3805 ... WSFederation Issues related to adding support for WSFederation.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes if it’s public in reference code we should make it public… I will add to previous PR… let me know if there are other findings w.r.t SAML… thank you for pointing them.
https://github.com/CoreWCF/CoreWCF/issues/1072 => has details… marking duplicate and closing. @venknar if it’s not working, feel free to re-open it.