# Authorization with oAuth2 and Postman didn't work

**URL:** <https://forum.mautic.org/t/authorization-with-oauth2-and-postman-didnt-work/14674>\
**Category:** Product Support\
**Created:** [June 6, 2020, 10:27am UTC](https://forum.mautic.org/t/authorization-with-oauth2-and-postman-didnt-work/14674 "2020-06-06T10:27:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolabisio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/nicolabisio/32/9752_2.png) [@nicolabisio](https://forum.mautic.org/u/nicolabisio)\
**Post date:** [June 6, 2020, 10:27am UTC](https://forum.mautic.org/t/authorization-with-oauth2-and-postman-didnt-work/14674/1 "2020-06-06T10:27:31Z")

</div>

**Your software**  
My Mautic version is: v2.16.2  
My PHP version is: PHP 7.3

**Your problem**  
My problem is: I’m using Postman to test some API endpoints and I’m able to connect with Basic Authentication, but I’d like to improve security with oAuth2 authorization.  
Attached you’ll find my both configurations mautic one and postman one.  
I’m not able to find problem.

 ![2020-06-06 12_26_09-Window](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a8010255238ef89b77cbc36ba82989f1e560cf63.png) ![2020-06-06 12_26_45-Window](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2861c9d1048489cf67e8dad75ac12d0a5bf64233.png)

---

<div class="post-metadata">

**Author:** ![stgoos](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stgoos/32/8149_2.png) [@stgoos](https://forum.mautic.org/u/stgoos)\
**Post date:** [August 25, 2022, 12:05pm UTC](https://forum.mautic.org/t/authorization-with-oauth2-and-postman-didnt-work/14674/2 "2022-08-25T12:05:56Z")

</div>

2022 update: with [https://oauth.pstmn.io/v1/browser-callback](https://oauth.pstmn.io/v1/browser-callback) as the Callback URL it works for me.

---

<div class="post-metadata">

**Author:** ![stgoos](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stgoos/32/8149_2.png) [@stgoos](https://forum.mautic.org/u/stgoos)\
**Post date:** [August 26, 2022, 11:01am UTC](https://forum.mautic.org/t/authorization-with-oauth2-and-postman-didnt-work/14674/3 "2022-08-26T11:01:26Z")

</div>

If you want to automate the oAuth2 process in Postman for every request, see my post: [Postman automated oAuth2 Client Credentials via Pre-request Script](https://forum.mautic.org/t/postman-automated-oauth2-client-credentials-via-pre-request-script/25192)
