Relative Content

Tag Archive for pythonngrokflask-oauthlibflask-dance

How to solve “Facebook has detected App isn’t using a secure connection to transfer information”?

I’m trying to add facebook log in for the website I’m developing. However, I keep getting this error “Facebook has detected App isn’t using a secure connection to transfer information”. I used ngrok to serve web https instead of http. I can connect to facebook log in page if I am in private mode, but this error shows up after I entered email and password. It never redirect to home page after successful log in. If I hit close, I get the error “oauthlib.oauth2.rfc6749.errors.MismatchingStateError: (mismatching_state) CSRF Warning! State not equal in request and response.” Here is the relevant project structure