I created a new fb app for testing today, but can't get the login working. I am using the Javascript SDK and I can see the following error message in the console:
Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://
This app is exclusively used to run tests on a local server. The site URL configured in Facebook Login > Quickstart > Web is http://localhost:3000/. I checked Facebook Login > Settings and the Enforce HTTPS switch is activated and disabled. Other apps that are still working don't have the Enfore HTTPS setting active. They only show a warning/error about the safety risks of not using HTTPS. Is there are way to deactivate this setting? I already use ngrok in a docker container during my build to test the Messenger integration. It only works because I can programmatically set the webhook url. As far as I know, the login URL cannot be programmticallly set and tools like ngrok provide only provide a dynamic address unless paid for.