Getting 403 on OAuth token api

Description
We are integrating Zoom with our own product. Once they have linked through OAuth, we need to provide our users the ability to unlink their zoom account in which case we remove their token etc. from our database but the app remains installed in their Zoom account. So now if the user tries to go through oauth again, the access token API throws a 403.

Is this the right way to provide this feature to our users?

Error
Forbidden (403 Forbidden)

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

Which Endpoint/s?
https://zoom.us/oauth/token

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

  1. Create OAuth app
  2. Go through the OAuth process to get access token for a user
  3. Repeat 2

Hey @haider, thanks for posting and using Zoom!

Please share your full request url and details along with the full error message.

If you are trying to remove their token, you can use the revoke token endpoint.

Thanks,
Tommy

https://zoom.us/oauth/token?grant_type=authorization_code&code=6VzfR5yS8m_H7AYDkARTqaVcKnotkSONA&redirect_uri=https://localhost:44399/
var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(client_id + “:” + client_secret);
Client.DefaultRequestHeaders.Add(“Authorization”, "Basic " + Convert.ToBase64String(plainTextBytes));

i got the same issue? could you help me?
@tommy could you help me?

Hey @tranvuong1803, thanks for posting and using Zoom!

Can you please share a screenshot of the error?

Thanks,
Tommy