# Zoom response: {"reason":"Invalid request : Redirect URI mismatch.","error":"invalid\_grant"}

**URL:** <https://devforum.zoom.us/t/zoom-response-reason-invalid-request-redirect-uri-mismatch-error-invalid-grant/65528>\
**Category:** Authentication\
**Created:** [March 9, 2022, 5:41pm UTC](https://devforum.zoom.us/t/zoom-response-reason-invalid-request-redirect-uri-mismatch-error-invalid-grant/65528 "2022-03-09T17:41:15Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Lynk-Developer](https://avatars.discourse-cdn.com/v4/letter/l/977dab/32.png) [@Lynk-Developer](https://devforum.zoom.us/u/Lynk-Developer)\
**Post date:** [March 16, 2022, 7:46pm UTC](https://devforum.zoom.us/t/zoom-response-reason-invalid-request-redirect-uri-mismatch-error-invalid-grant/65528/13 "2022-03-16T19:46:23Z")

</div>

Is the localhost domain on the `redirect_uri` field in Zoom Marketplace App? If you recently moved the app to production and that production url/domain name is in the `redirect_uri` field for you app. Example: “[yourproductionapp.com](http://yourproductionapp.com)”

But when running locally, you are running from a different host, example:  
localhost:8088. Then you will always get that error.

I have to apps: Fea (front end app) and Bea (back end app). Fea is listed as redirect\_uri domain. Bea, my backend app, cannot make that request to ZoomApi to get the tokens because she is not on the domain of the redirect\_uri declared in my Zoom Marketplace app. So I make all requests from Fea and then proxy stuff to Bea when I need to.

Suggested Architecture: Fea and Bea.

_ **Fea** _:

- login/authentication calls proxied to Bea
- Zoom Api calls for authentication: { code, tokens }
- embedded ZoomMtg object/player
- cookies
- UI

**Bea** :

- JWT calls to ZoomApi
- internal api calls (db, internal services)
- session management

Hope this helps!?

---

_[View the full topic](https://devforum.zoom.us/t/zoom-response-reason-invalid-request-redirect-uri-mismatch-error-invalid-grant/65528)._
