In the instructions for setting up an API client on the Panopto server, both READMEs say to enter https://localhost (note "https") into the CORS Origin URL field in the form to create a new API client in Panopto. When I run the API examples that way I get the following error:
oauthlib.oauth2.rfc6749.errors.InvalidClientError: (invalid_client)
However, when I switch the CORS Origin URL to http://localhost (note "http") I'm able to authenticate. This seems like it would apply to the setup instructions for the samples in the https://github.com/Panopto/panopto-api-python-examples repo too.
If it would be helpful I can submit PRs with updates to the READMEs, please just let me know.
In the instructions for setting up an API client on the Panopto server, both READMEs say to enter https://localhost (note "https") into the CORS Origin URL field in the form to create a new API client in Panopto. When I run the API examples that way I get the following error:
oauthlib.oauth2.rfc6749.errors.InvalidClientError: (invalid_client)
However, when I switch the CORS Origin URL to http://localhost (note "http") I'm able to authenticate. This seems like it would apply to the setup instructions for the samples in the https://github.com/Panopto/panopto-api-python-examples repo too.
If it would be helpful I can submit PRs with updates to the READMEs, please just let me know.