Using OAuth with fdk run gives CORS error

Hi,

I have a cti_global_sidebar app that makes use of the OAuth flow.
The documentation states that I should be able to test this using “fdk run”. However when doing this I see the error as displayed below. If I install the app as a custom app, it works correctly.

Documentation: OAuth

ERROR below:
Mixed Content: The page at ‘Loading...’ was loaded over HTTPS, but requested an insecure frame ‘http://dl.freshdev.io/oauth/agent_oauth.html?appId=123456789&versionId=123456789&showPopup=true’. This request has been blocked; the content must be served over HTTPS.

One of the things that can help us make progress is by looking into the logs.

See how fdk.log helps in troubleshooting

Copy specific section of logs using Debug Mode

Share browser logs if you think those can help.