2
When I create a project Asp.Net MVC
with Individual User Accounts
i can get into the application this way:
var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: false);
But I need to provide login access for mobile apps that way:
link: http://localhost:51836/token
header: content-type: application/x-www-form-urlencoded
body: [email protected]&password=123456&grant_type=password
How do I keep logging in this way and also make available Web Api
(in the same project Asp.Net MVC
) for mobile devices to log in and receive Token
access to access the pages Web Api
that I have in the application Asp.Net MVC
?