My current web application with Asp.Net Core 2 is behaving somehow of which i don't understand. I created users with Identity system which is working fine and i also created Roles with RoleManager<IdentityRole> that are up to 300 roles which is also working fine.
What i observed from login page is, if i assign Roles to user which are not much like less than 100 for instance, user will login successfully using SignInManager. But if i assign more than 100 Roles or all Roles to user, the login wouldn't be successful and if i check the cookies from the browser, i found out that cookies multiply up to 5 times of the normal cookies value.
What could be the issue, is it that Asp.Net Core 2 have Roles restriction because these are working fine in Asp.Net MVC 5 before i migrate to Asp.Net Core 2.
Thanks in advance