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://

后端 未结 9 2562
独厮守ぢ
独厮守ぢ 2020-12-06 01:04

I am implementing Passport Facebook Authentication by linking the Facebook Authentication API route to a button using href like:



        
9条回答
  •  -上瘾入骨i
    2020-12-06 01:44

    Since Facebook have been requiring usage of HTTPS for our redirect URIs we can use ngrok at localhost for start up a local secure HTTP tunnel. It is a clean and fast suggested alternative for now.

    • Get official ngrok package
    • Unzip to your preferred directory unzip /opt/ngrok.zip;
    • Make your first HTTP tunnel: /opt/ngrok http 3000

    See more great use cases in ngrok docs.

提交回复
热议问题