Ok apparently there's nothing "Basic" about "Basic Authentication" when it comes to a WebAPI project and an existing database...but I digress.
Situation:
Existing asp.net Website App (WSP) with older .net membership providing user role and forms authentication.
Using this database with a new WebAPI 2.2 application with code first migrations, MVC5 goodness, etc. and I want to use things such as [Authorize] and role based attributes to control access to the various methods our integration partners will call.
Question:
Should I import a IdentityModel class from one of my other greenfield MVC apps, then import those existing users/roles into those "simple membership" tables, or would you recommend just adding the existing membership tables/models with perhaps a custom membership provider?
If it's the latter, can someone maybe point me to an article or answer where they've done this? I think my head is just spinning and even if I did manage to google the right thing I don't think I'd see it.
Thanks in advance.