Transform from Token to Active Directory Web Api


#1

I have the folowing scenario:

Angular Cliente App ----[auth token]-------->Asp.net Web Api ---------[Windows Authentication (user from the client app)]-------> oData Service

I have a client application developed in Angular. I am using okta to authenticate the user and get the token to call the asp.net web api.

The problem is that from the Web Api I need to call an oData service that uses windows authentication and returns data based on the user (the active directory user that is using the angular app)

My question is: is there any way in .Net to “convert” the token and create a call to the odata service authenticated via Active directory?

I hope I am being clear… it’s a very complex scenario I guess…