PKCE - invalid_client

Using this template helps us debug your issues more effectively :slight_smile:

Description
I’m attempting to add PKCE to an OAuth flow that previously worked.
I am able to get the Authorization code ,with below request

/oauth/authorize?response_type=code&code_challenge_method=S256&client_id=<Client_ID>&scope=openid profile email accounting.transactions offline_access&redirect_uri=oauth.pstmn.io/v1/callback&state=ABCD&code_challenge=<code_chalenge>

but when I pass the code in below URL (Access token request).

URL : /oauth/token
Method : POST
Body : {
grant_type : authorization_code
client_id:<Client_ID>
code : <Authorization_Code>
redirect_uri: /oauth.pstmn.io/v1/callback
code_verifier : <Code_Verifier>

Error
{
“reason”: “Invalid client_id or client_secret”,
“error”: “invalid_client”
}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
/oauth/authorize
/oauth/token

How To Reproduce (If applicable)
Steps to reproduce the behavior:

Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Hey @vsivasankar,

Thank you for reaching out to the Zoom Developer Forum. I see that you submitted a ticket for this. I make sure to follow up with you there.

Thanks,
Max