Combining OAuth with Active Directory for authentication
<p>We have angular front end which works with WebApi backend and we have used OAUTH(Bearer token) as mode of authentication. </p>

<p>Everything is working fine as expected.</p>

<p>Now we have a requirement where one of the clients wants to verify the already logged in user(Active Directory) and let them In skipping the login, the users already exist in our database as well. </p>

<p>We want to keep the entire OAUTH mechanism the same but add an extra step where we check if the current logged in user(Active Directory) matches with our db user(email in that case) then we generate a token and let client in without the need to give usename/password every time they want to log in.</p>

<p>Any ideas on how to achieve this and any code examples will be helpful.</p>

<p>If you need any more explanation they please let me know.</p>

<p>Thanks. </p>