AspNetCore.Identity.DynamoDB icon indicating copy to clipboard operation
AspNetCore.Identity.DynamoDB copied to clipboard

RoleManager.CreateAsync calls unsupported SetNormalizedRoleNameAsync

Open cmsd2 opened this issue 8 years ago • 0 comments

https://github.com/aspnet/Identity/blob/dev/src/Microsoft.AspNetCore.Identity/RoleManager.cs#L168

we don't allow the normalized role name to change for good reason, but the role manager depends on this function succeeding.

also if the user has chosen a different ILookupNormalizer than the normal UpperInvariantNormalizer, the default initialisation of NormalizedRoleName in DynamoIdentityRole will not match the expected normalized role name.

cmsd2 avatar Mar 28 '17 20:03 cmsd2