Hello, I am currently working on a WebApp in React, in which I am using the "@zoom/appssdk: "^0.16.34", and with that I am using the zoomSdk to handle the seamless authentication process when the user is inside the Zoom client.
Then I call my endpoint which will will go to https://zoom.us/oauth/token to get an access token so that I can later go to https://api.zoom.us/v2/users/me and fetch the user’s information
But when i make this request I get this error: {“reason”:“Invalid authorization code”,“error”:“invalid_grant”}. I had this working until May 2025, but now I think something has changed in the oauth/token request because I can no longer get new tokens.
Has something changed in the Apps SDK in which I need to send anything else more than the code from the onAuthorizedmethod for the Zoom token endpoint, or what is the issue?
Hi @Jose_Miguel
Sorry for the late reply here.
Can you please try to reauthorize your app and generate a new access token?
I believe this was an intermittent issue
Thank you for the response.
I’ve regenerate a new client secret for my app but still have the same issue:
Bad Request 400
{
"reason": "Invalid client_id or client_secret",
"error": "invalid_client"
}
I was searching on Zoom Forum about similar issues and I think is the way PKCE is done. Previouslly to generate the codeChallenge I was encoding the codeVerifier in SHA256 and from what i can tell it has to be in a plain text instead of SHA256.
So this is how I am doing the auth (just with my WebApp and Postman)
I’m currently encountering the same invalid_client error mentioned above. Could this be related to the authorization code exchange step, or am I possibly missing something with how the code / credentials are being handled?
They @Jose_Miguel
This issue could be due to the way you are passing your client id and secret as a query param.
Can you please pass it as an authorization header?