hari krk

hari krk

  • NA
  • 37
  • 36.1k

web api security using token passed from angular

Jun 13 2020 12:18 PM
I am having a project where UI is in Angular and backed is Web API using .Net 4.6
Both are hosted in Azuer as two different app services
Angular UI, authenticates using Microsoft Azure AD SSO authentication.
after authetication, it gets the token and sends the token in header to api also as Bearer token
I need to use this token to authenticate in api side if call is from same angular UI only.
Any idea how can i set this up in UI. I tried owin, but not able to solve it. 

Answers (4)