Last post May 27, 2014 08:06 AM by BrockAllen
May 26, 2014 11:00 PM|cp17|LINK
Here's my situation: I have multiple types of users in my database, (i.e. regular vs. admin). Each type of user is housed in a different table, which has different field definitions, and different table relationships. The abilities of admin vs. regular users
will be very specific within my application, and will in-fact have two separate login portals. What I am trying to determine, is whether basic authentication, (using simple membership), may be modified to handle such a case. i.e. authenticate against a specific
user table, based on some config/parameter or another. If this is not possible, is there a suggested way to handle such a situation?
May 27, 2014 08:06 AM|BrockAllen|LINK
For API authentication you should be looking at something like OAuth2. Your OAuth2 authorization server can then be implemented to look in your different tables for validating the user's credentials.