title: Using POSTMAN to get Authorization Code - OAuth2.0
body: <p>I am using POSTMAN to test OAuth2.0 <strong>AuthCode flow</strong> for MSGraph. Following are details of the same:</p>
  <p><strong>AuthCode URL</strong> : <a href="https://login.microsoftonline.com/%7Btenant_id%7D/oauth2/authorize" rel="nofollow noreferrer">https://login.microsoftonline.com/{tenant_id}/oauth2/authorize</a></p>
  <p><strong>AccessToken URL</strong> : <a href="https://login.microsoftonline.com/%7Btenant_id%7D/oauth2/v2.0/token" rel="nofollow noreferrer">https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token</a></p>
  <p>When i did some research to see how to test OAuth2.0 using POSTMAN. I was able to find some threads which helped me to generate the access token and hit the user profile api to get the user details as shown in the screenshot below:</p>
  <p><a href="https://i.stack.imgur.com/JTN7a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JTN7a.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/r6Z0O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r6Z0O.png" alt="enter image description here" /></a></p>
  <p>But, i have a weird requirement where in, i would like to generate an AuthCode in a separate request, then use it in another request to get the Access Token and then use the access token to get the user details in a separate request.</p>
  <p>Can someone please help me with the Above requirement.</p>