API Endpoint(s) and/or Zoom API Event(s)
https://zoom.us/oauth/token
Description
Error 400 Bad Request when requesting access token refresh
Error?
I get an error trying to refresh token right away after adding a Zoom app.
There is a ton of similar articles on the forum but I have not found any solutions I could apply.
How To Reproduce
Steps to reproduce the behavior:
- Redirect user to Zoom App install link: Sign In - Zoom
- Accept the integration request
- Zoom redirects user to an app backend callback with a code.
- Backend requests auth&refresh tokens using a code.
- Backend stores auth and refresh tokens in the database.
- Manually I post a request in PostMan (see a screenshot above) using basic Auth (username BzenFJSwOdkXXvmxFLEg and password), body is x-www-form-urlencoded with the next params: grant_type=refresh_token and refresh_token equal the one I got on step 5.
- Zoom responds with status 400 and body {“reason”: “Invalid Token!”, “error”: “invalid_grant”}