How do I develop against OAuth locally?

后端 未结 7 846
孤独总比滥情好
孤独总比滥情好 2020-12-08 02:38

I\'m building a Python application that needs to communicate with an OAuth service provider. The SP requires me to specify a callback URL. Specifying localhost obviously

7条回答
  •  广开言路
    2020-12-08 03:28

    In case you are using *nix style system, create a alias like 127.0.0.1 mywebsite.dev in /etc/hosts (you need have the line which is similar to above mentioned in the file, Use http://website.dev/callbackurl/for/app in call back URL and during local testing.

提交回复
热议问题