Using Development local test authorized code failed to get token for API call

I have created an admin managed app and i am using the local test environment added app with the returned code to call the get token api https://zoom.us/oauth/token

Here is my example to call using postman.

Header
Content-Type: x-www-form-urlencoded
Host: zoom.us
Authorization: Basic {code} with the encoded client_id and client_secret

Body (x-www-form-urlencoded)
code = {code} from the add app returned code local test
grant_type = authorization_code
redirect_url = my main webpage url

result i get 400 bad request result.
{
“reason”: “Invalid client_id or client_secret”,
“error”: “invalid_client”
}

Hi @balancemy
Thanks for reaching out to us.
Here are a couple of links that will help you troubleshoot this on your end:

Link to our docs:

Link to a guide from one of my colleagues

Let me know if this is helpful!
Cheers,
elisa

Hi Elisa,

Thanks for the information, now that i get to know how to authorize and get the token, but in my react native app once i allowed the scoped access, it redirect me to my allowed url but it didnt return to my mobile screen, am i missing something here?

Thanks for the help !