Feb 09, 2020 03:11 PM|born2win|LINK
thank you for your reply and on your sample
var claims = new List<Claim>
new Claim(ClaimTypes.Name, user.Email),
new Claim("FullName", user.FullName),
new Claim(ClaimTypes.Role, "Administrator"),
this is default claim type. but i wanted to add the custom claim which is not in the default claimType. from my database after validation, i am getting couple of fields like MemberId,UserName,PrimaryEmail,ApplicationPin,FirstName,LastName.
i referred the below url
But , i am struggling how to add my custom fields in the claims before
Any help please.