title: Azure AD - how to obtain v2 access token
body: <p>Using Azure AD, OIDC implicit flow, I can obtain an access token from a v2 endpoint.
  The authorization endpoint I am using looks like this:</p>
  
  <pre><code>https://login.microsoftonline.com/&lt;tenant-id&gt;/oauth2/v2.0/authorize?client_id=&lt;client-id&gt;&amp;redirect_uri=https://localhost:44321/signin-oidc&amp;response_type=id_token%20token&amp;scope=openid%20api%3A%2F%2Fdev-api-gateway%2FAtlas&amp;response_mode=form_post&amp;nonce=123
  </code></pre>
  
  <p>Yet, it seems that I get a 'v1' access token.
  What am I doing wrong?</p>
  
  <p><a href="https://i.stack.imgur.com/GAqS1.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GAqS1.jpg" alt="enter image description here"></a></p>