OAuth: how to test with local URLs?

后端 未结 8 1332
粉色の甜心
粉色の甜心 2020-12-02 04:57

I am trying to test OAuth buttons, but they all (Facebook, Twitter, LinkedIn) come back with errors that seem to signal that I can not test or use them from a local

8条回答
  •  执念已碎
    2020-12-02 05:30

    I found xip.io which automatically converts a fixed url to a embedded localhost domain.

    For example lets say your localhost server is running on 127.0.0.1:8000 You can go to http://www.127.0.0.1.xip.io:5555/ to access this server. You can then add this address to Oauth configuration for Facebook or Google.

提交回复
热议问题