Hi Zoom Dev Team,
This is Eshwar from Verix. We’re encountering an issue with the Zoom Meeting SDK when attempting to obtain an access token using the authorization code provided via the SDK’s onAuthorized
callback.
Issue Description:
When we use the authorization code returned from the SDK method ZoomSdk.ZoomSdk.onAuthorized
, Zoom returns the following error when we try to exchange it for an access token:
Error: { "reason": "Invalid authorization code", "error": "invalid_grant" }
However, when we manually generate the authorization code using the Zoom OAuth API (https://zoom.us/oauth/authorize
), and then use it to call the token endpoint (https://zoom.us/oauth/token
), everything works as expected.
SDK Details:
- SDK: Zoom Meeting SDK
- Version:
0.16.22
- Relevant Methods:
From the onAuthorized
callback, we receive the following:
code
redirect_url
But using the code
from this callback in the token request consistently fails with an invalid authorization code
error.
This was working fine until recently and suddenly started breaking. We have not made any changes from our side and believe there might be some changes from Zoom. We’d appreciate any guidance to help resolve this issue. Let us know if more details are needed.
cc: @sajal, @Manishsingh