# How to get a v2 token from Azure AD OAuth2 implicit flow?

**URL:** <https://community.postman.com/t/how-to-get-a-v2-token-from-azure-ad-oauth2-implicit-flow/11947>\
**Category:** Help Hub\
**Tags:** authentication, azure\
**Created:** [April 14, 2020, 5:19pm UTC](https://community.postman.com/t/how-to-get-a-v2-token-from-azure-ad-oauth2-implicit-flow/11947 "2020-04-14T17:19:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![esd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/esd/32/4228_2.png) [@esd](https://community.postman.com/u/esd)\
**Post date:** [April 14, 2020, 5:19pm UTC](https://community.postman.com/t/how-to-get-a-v2-token-from-azure-ad-oauth2-implicit-flow/11947/1 "2020-04-14T17:19:52Z")

</div>

I’m able to get a [v1.0 jwt token](https://docs.microsoft.com/en-us/azure/active-directory/develop/id-tokens) with the below settings.

How do I make the `https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/authorize` endpoint return v2.0?

[![enter image description here](https://us1.discourse-cdn.com/getpostman/original/2X/a/aa9afef2221e7c9fc57270106b85ca0cbbacba6e.png)](https://i.stack.imgur.com/roA6w.png)

---

<div class="post-metadata">

**Author:** ![kevin.swiber](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kevin.swiber/32/3820_2.png) [@kevin.swiber](https://community.postman.com/u/kevin.swiber)\
**Post date:** [April 14, 2020, 8:12pm UTC](https://community.postman.com/t/how-to-get-a-v2-token-from-azure-ad-oauth2-implicit-flow/11947/2 "2020-04-14T20:12:28Z")

</div>

It looks like there are parameter changes that are being added to the traditional OAuth2 implicit grant type access token request.

You can try moving Auth to a pre-request script instead of using the built-in mechanism. Also, it’s possible to contribute a new auth mechanism here if you’re interested: [https://github.com/postmanlabs/postman-runtime/blob/develop/docs/new-auth-mechanisms.md](https://github.com/postmanlabs/postman-runtime/blob/develop/docs/new-auth-mechanisms.md).

Otherwise, feel free to file an issue: [https://github.com/postmanlabs/postman-app-support/issues](https://github.com/postmanlabs/postman-app-support/issues).

Best,

Kevin

---

<div class="post-metadata">

**Author:** ![esd](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/esd/32/4228_2.png) [@esd](https://community.postman.com/u/esd)\
**Post date:** [April 15, 2020, 10:23am UTC](https://community.postman.com/t/how-to-get-a-v2-token-from-azure-ad-oauth2-implicit-flow/11947/3 "2020-04-15T10:23:10Z")

</div>

Managed to find a solution, it doesn’t make sense. But it works

> <https://stackoverflow.com/questions/61084891/how-to-get-a-v2-jwt-token-when-authorizing-against-azuread-in-postman/61092349#61092349>
