Panopto Public API authentication failing
Hello,
Is it correct that the Panopto Public API page https://yourpanoptoserver/Panopto/Api/Docs/index.html (url changed our Panopto server address) should authenticate me when I am also logged in into the corresponding Panopto server based on the cookie? In case this page is a live API, it is not explained anywhere clearly (that I could find) that it is meant to work like that. I am confused, because if I open any of the endpoints listed, I find input boxes, but they are all disabled:
It seems that the documentation (e.g. https://support.panopto.com/s/article/api-0) assumes users already know this is intended to work like that, but it is not mentioned specifically.
But the main issue is that I can't get it working to experiment with it. My account has the roles Administrator, Creator and Viewer. I tried different browsers some with third party cookies disabled, other browser with it enabled, but I don't see how I can experiment with that.
So my questions are:
- how is it intended to work and could you please update the documentation?
- what browser settings are needed for this to work?
Thanks,
Jaap
Best Answer
-
Kevin Baum Panopto Employee
Hi Jaap,
Our Public REST API documentation is not currently setup for API use directly from that page, which is why the input fields are all disabled. The Panopto REST API also uses OAuth2 access tokens, rather than cookies for authentication.
For testing API calls out manually, I recommend using Postman or similar software. You can usually input the required OAuth2 client credentials and the client type for Postman to automatically get an access token for you to add to the API calls to the public API.
Please let me know if you have any other questions.
Thanks,
Kevin
0