Using Rest API with Postman
I've got the example code auth-server-side-web-app working after some tweaking but I would like to experiment with the api using the Postman app. The developer who was showing the Rest API was using Postman during the demo so I know it is possible but I can't figure out how to setup the Postman OAuth2 GetToken fields to match up with the API I defined which does work with the example python code. Can someone give more guidance about this?
When I run the code from a terminal using Python as in:
python3.8 sample.py --server myserver --client-id myClientID --client-secret mysecret
I get a list of folder names and urls as expected.
Here is the error I get from Panopto
Kevin Baum Panopto Employee
It looks like there is a minor error in Postman on the Callback URL. If you haven't already, can you try changing it to "https://www.postman.com/oauth2/callback"? In the screen shot you posted, it looks like it is missing a couple of characters.
Please let me know if you are still seeing an error after trying this change, and I can take another look at it.
Gary Leydon Tyro
Thanks Kevin, your comment made me look 'closer' at the postman settings and I was using the wrong client ID and secret (from a previous iteration/test). Once I used updated the callback url and then put in the proper client/secret IDs I was able to get a token. On may way.....thanks0
Gary, this was very helpful. Thanks a lot!