Skip to content
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.

Preserve/Copy/Transfer Claims received during external authentication to the "Identity.Application" Identity #1529

Closed
gabosistvanpwc opened this issue Dec 12, 2017 · 1 comment

Comments

@gabosistvanpwc
Copy link

Hi,

I need a way to preserve the claims received from the external identity provider when using the WsFederation authentication scheme.

The claims received after a successful authentication with the external Identity Provider can not be found in the new "Identity.Application" identity created by the SignInManager.ExternalLoginSignInAsync method.

I'm using the basic ASP.NET Core Web Application project template with the Individual User Accounts authentication option. The WsFederation middleware is configured as follows:

services.AddAuthentication()
.AddWsFederation(options =>
{
options.Wtrealm = "xxxx";
options.MetadataAddress = "xxxx";
})
.AddCookie();

Thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants