-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels