You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Issue #42 Fixes user claims mapping for IdentityResource, ApiResource and ApiScope
* Issue #41 Fix exception when mapping client claims from entity to model
Hello
thanks for the great work
i have a issue on version 4.0.0-rc.2 due to automapper configuration
adding a client claim and store it runs perfectly
but fetching it fails because of a type mapping missing between claim client and securityclaim
code to reproduce
Client c= new Client()
{
ClientId = clientId,
AllowedScopes = new List(new string[] { "dsquad:public" }),
ClientSecrets = secrets,
AllowedGrantTypes = GrantTypes.ClientCredentials,
AccessTokenType = AccessTokenType.Jwt,
AccessTokenLifetime = int.MaxValue,
Enabled = true,
AlwaysSendClientClaims = true,
ClientClaimsPrefix = ""
};
c.Claims.Add(new ClientClaim("hello", ""world"));
c.ToEntity().ToModel(); // throw exception
The text was updated successfully, but these errors were encountered: