https for localhost:8080

后端 未结 4 924
误落风尘
误落风尘 2021-02-05 10:58

I am trying to develop a facebook app written in Python running on Google App Engine, so i need to make my http://localhost:8080 to https://localhost:8080 since facebook is aski

4条回答
  •  余生分开走
    2021-02-05 11:24

    I use stunnel to proxy my https request on localserver. I run my localserver on 127.0.0.1:8000 and have configured stunnel with

    [https]
    accept  = 8001
    connect = 8000
    

    so it responds to https on 127.0.0.1:8001. I have configured the FB app with the above 2 ips. Works nicely. For windows, you can find the installer at here

    You need to configure 2 facebook apps. 1 for the production. 1 for the local. Use the host ip to return different APP_ID for different apps on local and production.

提交回复
热议问题