Automating Delete option using OAuth with C# API

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

Description
I was trying to create an automation process for Zoom cloud recordings to be deleted after we successfully download them(using the API calls with download token) . I am using OAuth 2.0 to automate this process as per docs https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/recordingsList

In my API, I was calling the OAuth app I created in zoom (I have client id and secret)

While I am able to do this process using Postman with redirect url of the post man. Can you please help me get it through using C#??

Error
the thing I am not able to understand is redirect url. What should I give as a API callback url? a method in my controller?

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

Which Endpoint/s?
Endpoint for DELETE.

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

  1. Request URL / Headers (without credentials) / Body
  2. See error

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

Additional context
Add any other context about the problem here.

I think the place where it diverges is with the btoa(...) call which produces a code_challenge that is different than other algorithms do. This threw me off for a while.