Welcome to the Panopto Community

Please note: All new registrants to the Panopto Community Forum must be approved by a forum moderator or admin. As such, if you navigate to a feature that is members-only, you may receive an error page if your registration has not yet been approved. We apologize for any inconvenience and are approving new members as quickly as possible.

Redirect issue with Python 3 example api & oauth2 to local host

I have been using the github https://github.com/Panopto/panopto-api-python-examples folders cli with some code that worked fine from a remote desktop PC in our datacentre.

Having come back recently, that code no longer runs, nor does the sample.py code in the folders-cli folder work.

The browser (chrome) opens up the panopto website as usual, with a redirect to local_host, but the chrome browser never does the redirect to save the token.

The browser tab says "Error"

The api client I created had disappeared (I assume expired) so I create a new Server-side Web Application api client for the same user (who happens to be an administrator) but the I get the same error.

Has there been a change to chrome or the api to stop redirects to local_host? Or to web api's to admin users? Or am I off track?

The url is

Opening the browser for authorization: https://myserver.cloud.panopto.eu/Panopto/oauth2/connect/authorize?response_type=code&client_id=some-value&redirect_uri=http%3A%2F%2Flocalhost%3A9127%2Fredirect&scope=openid+api+offline_access&state=somecodevalue

HTTP server started at port 9127. Waiting for redirect.

The code then sits there and the only sign of error is the error in the browser tab


Best Answer

  • Answer ✓

    Thanks - just to confirm what I had done was put the right redirect url onto the wrong client id.


  • Tried the same setup in Postman using https://support.panopto.com/s/article/How-to-use-Postman-with-the-Panopto-REST-API

    Getting the same error

    Tried setting up a pure API client (not associated with a user) - same error

    Error is:

    Chrome browser opens up, browser tab says "Error", redirect doesn't appear to happen.

    So I set the redirect url to allowed https%3A%2F%2Foauth.pstmn.io%2Fv1%2Fcallback and https://oauth.pstmn.io/v1/Fcallback but still getting error in the browser tab

  • Kevin BaumKevin Baum Panopto Employee

    Hi Brian,

    We may need some additional information in order to look into this further for you. Can you please have your POC open a support ticket with Panopto? If you need any assistance with opening a support ticket, please message @Caitlin McCabe .



  • Ticket is 00862124 and has been open for a while in "Needs Attention" priority P3 - can you escalate please.

  • Caitlin McCabeCaitlin McCabe Administrator

    Hi @Brian Merritt,

    I have reached out to Support regarding your ticket. Please keep an eye out for correspondence from our team.

    Best wishes,


Sign In or Register to comment.