title: Pass along Azure AD authentication between apps
body: <p>I have two Apps in Azure where both require authentication through Azure AD to use.</p>
  
  <p>App A is an ASP.Net website application.</p>
  
  <p>App B is a python Flask REST web api application.</p>
  
  <p>The users are supposed to navigate to App A and log in using their windows credentials.
  App A needs to communicate with App B to perform some actions like for example fetch a list of items.</p>
  
  <p>What happens now when sending a Get request to App B is that it returns HTML representing the login page that is generated by Azure.</p>
  
  <p>I realize that I will need to pass along some OAuth token but have no idea how to generate this and receive it on App B end and use it to "unlock" the functionality.</p>
  
  <p>So my question is, how to generate an OAuth token, pass it with api requests and handle it on python side?</p>