title: Azure api OAuth2 implicit flow works on http but not on htt
body: <p>I created an Api in azure and recently tried to change to authentication method to access it via OAuth2.</p>
  <p>I requested a token using <a href="https://login.microsoftonline.com/%5BTENANT%5D/oauth2/v2.0/token/" rel="nofollow noreferrer">https://login.microsoftonline.com/[TENANT]/oauth2/v2.0/token/</a> and tried to use it to access my api via postman.</p>
  <p><a href="https://i.stack.imgur.com/pkGvi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pkGvi.png" alt="enter image description here" /></a></p>
  <p>Then I tried to use the received token to make a request to my api:
  I used Postman's Authorization pane to specify OAuth2.0 as the authentication method and set the Grant Type configuration to &quot;implicit&quot; and sent a request.</p>
  <p><a href="https://i.stack.imgur.com/pi0TE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pi0TE.png" alt="enter image description here" /></a></p>
  <p>Configured like this, the request goes through using the &quot;http&quot; version of my api but as soon as I try to use the &quot;https&quot; version, I get a 401 error &quot;Unauthorized&quot;.</p>
  <p>Have I configured my api wrong ? Or am I using the wrong url to authenticate ?</p>
  <p>Thanks a lot for your time.</p>