SignInManager class is throwing exception Invalid Object: “AspNetUserClaims

Whenever I am calling any method of SignInManager class, its throwing mean exception.
Invalid Object name ‘AspNetUserClaims’

I have not created AspNetUserClaims table while doing migration as I don’t require AspNetUserClaims. I only need Users and Roles table.

I am using .Net 7 and Identity Service to provide Authentication and Authorization.

Please help me

I am expecting that my SignInManager class should work with AspNetUserClaims table.

Leave a Comment