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