Zoom response: {"reason":"Invalid request : Redirect URI mismatch.","error":"invalid_grant"}

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

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!?