I’m building a script to download video files from our Zoom account and then upload them to a team drive.
The Zoom API returns a download URL for the video file, but as we have SAML enabled, it’s necessary to authenticate before you’re redirected to the file.
I’ve been messing around with a bunch of okta’s authentication APIs, but I’m not really getting anywhere.
My current flow is as follows:
- Get a session token from okta’s auth api
- Exchange the session token for a session cookie using
- Pass this cookie to the URL request.
It obviously isn’t working, but I’m not sure if this is because the flow is wrong or because there is an issue with the authentication.
Any help is appreciated!