ASP.NET Core 2.2 Web API. Add claims to Azure AD Token RRS feed

  • Question

  • User-1116616100 posted


    We are using Azure AD for authentication in our application that consists of a Angular 7 client consuming an ASP.NET Core 2.2 Web API.

    We are able to authenticate the user successfully from Angular using Azure AD, and the obtained JWT token is being used and validated on the Web API. However, we want to control authorization from our Web API. Is there a way to append claims to the token on the API side once it's generated by Azure AD?

    Thank you,

    Friday, June 21, 2019 10:14 AM


  • User1724605321 posted

    HI JFercan ,

    Yes , you should not do that  .

    Best Regards,

    Nan Yu

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 27, 2019 1:50 AM

All replies