# OAuth 2.0 Authorization config - How to set the redirect\_uri?

**URL:** <https://community.postman.com/t/oauth-2-0-authorization-config-how-to-set-the-redirect-uri/41648>\
**Category:** Help Hub\
**Created:** [November 30, 2022, 8:54pm UTC](https://community.postman.com/t/oauth-2-0-authorization-config-how-to-set-the-redirect-uri/41648 "2022-11-30T20:54:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![orbital-module-tech6](https://avatars.discourse-cdn.com/v4/letter/o/97f17d/32.png) [@orbital-module-tech6](https://community.postman.com/u/orbital-module-tech6)\
**Post date:** [November 30, 2022, 8:54pm UTC](https://community.postman.com/t/oauth-2-0-authorization-config-how-to-set-the-redirect-uri/41648/1 "2022-11-30T20:54:05Z")

</div>

_My question_:  
I’m trying to configure Authorization on a collection to use OAuth 2.0  
I have all the configs set up under Configure New Token: Configuration Options.  
However, “Callback URL” is greyed out and I can’t set that value.

The value I have set up in my app is “[http://localhost:3000](http://localhost:3000)”, but the default value shown there is “[https://oauth.pstmn.io/v1/browser-callback](https://oauth.pstmn.io/v1/browser-callback)”. How do I set the redirect\_uri?

_Details (like screenshots)_:

If I then click “Get New Access Token”, a browser window opens to onelogin and it shows an error:

> **error** : redirect\_uri\_mismatch
> 
> **error\_description** : redirect\_uri did not match any client’s registered redirect\_uris

_How I found the problem_:  
I was trying to set this up.

_I’ve already tried_:  
I tried to include redirect\_url=[http://localhost:3000](http://localhost:3000) in the Auth URL, but when I try to get the access token, it says I have a duplicate parameter.

---

<div class="post-metadata">

**Author:** ![michaelderekjones](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/michaelderekjones/32/14819_2.png) [@michaelderekjones](https://community.postman.com/u/michaelderekjones)\
**Post date:** [December 1, 2022, 1:47pm UTC](https://community.postman.com/t/oauth-2-0-authorization-config-how-to-set-the-redirect-uri/41648/2 "2022-12-01T13:47:58Z")

</div>

I think you need to use the desktop app for this to work.

When I highlight that field I get, “The callback URL cannot be modified when authenticating via the browser”.

---

<div class="post-metadata">

**Author:** ![orbital-module-tech6](https://avatars.discourse-cdn.com/v4/letter/o/97f17d/32.png) [@orbital-module-tech6](https://community.postman.com/u/orbital-module-tech6)\
**Post date:** [December 1, 2022, 6:37pm UTC](https://community.postman.com/t/oauth-2-0-authorization-config-how-to-set-the-redirect-uri/41648/3 "2022-12-01T18:37:03Z")

</div>

That worked! I hadn’t been using the desktop version, kind of forgot about it.

I will say that the error message is a bit deceptive, since if I AM using the browser version…it would seem like I would be authing via the browser.
