IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Asp.Net Core Identity user claims

Open raigol opened this issue 10 years ago • 5 comments

How to read Asp.Net Core Identity user claims when using IdentityServer4? I have successfully set up IdentityServer to use Asp.Net Core Identity for user database. But can't get the user claims from database. I understand that for retrieval of claims must use IProfileService. But how exactly is it done?

raigol avatar Sep 22 '16 18:09 raigol

@raigol Here's 2 examples:

http://dkbe.ch/post/include-user-properties-in-identityserver4-with-asp-net-core-identity

https://github.com/damienbod/AspNet5IdentityServerAngularImplicitFlow/blob/master/src/IdentityServerWithIdentitySQLite/IdentityWithAdditionalClaimsProfileService.cs

damienbod avatar Sep 22 '16 18:09 damienbod

@raigol I have changed my domain for the blog:

https://blog.dkbe.ch/2016/09/13/include-user-properties-in-identityserver4-with-asp-net-identity/

Let me know if you need further assistance.

kdaveid avatar Sep 23 '16 17:09 kdaveid

Any update on the issue? closing for now - feel free to re-open if it needs further discussion.

leastprivilege avatar Sep 26 '16 18:09 leastprivilege

Both links 404.

JimBobSquarePants avatar Aug 20 '18 09:08 JimBobSquarePants

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 13 '20 02:01 lock[bot]