Web API 2 Authorization RRS feed

  • Question

  • User-324712479 posted

    Good Day,

    I need your support in the following scenario:

    I have a Web Application that is implemented using Angular as a front-end and ASP.NET Web API 2 as back-end. The Application will be linked inside another application and the user will be redirected to the targeted application after he clicks on the link. That's mean he will be redirected after he signed in using his credentials which is through the company  Active Directory. Now my question, What is the mechanism that I should use to authorize the user based on his AD Information ? I am confused since my application will not do the authentication and just focus on the authorization aspects ..

    Thanks in advance

    Friday, December 6, 2019 4:20 PM

All replies

  • User-474980206 posted

    this will depend on how single sign on is implemented for your sites. You should be given an api to interface to the single sign on process. Typically this is shared domain cookie or oauth. You will need to find out. 

    Friday, December 6, 2019 5:49 PM