I am currrently using ASP .Net MVC 5 Identity framework
to manage user authentication in my simple MVC 5
application. My Database contains 5 Identity related tables:
dbo.AspNetUsers
dbo.AspNetRoles
dbo.AspNetUserRoles
dbo.AspNetUserClaims
dbo.AspNetUserLogins
What I want to achieve is, basically, to remove AspNetRoles
, AspNetUserRoles
(which is just a relations table) and AspNetUserClaims
. And leave only:
dbo.AspNetUsers
dbo.AspNetUserLogins
because I'm currently working on OAuth2.0 based user login system. I do not need roles. All i want to know about user is he logged in or not. There are no managers, administrators or other user roles in my application. How can I remove them from my application and still be able to use Identity framework for user authorization/authentication and OAuth? And is it possible in the first place?