Can a public IP address be used as Google OAuth redirect URI?

前端 未结 7 2214
孤街浪徒
孤街浪徒 2020-12-04 16:01

I\'m trying to set a web service that needs the user\'s Google Latitude info, so I\'m using Google OAuth to get the user authorization stuff.

However, when trying to

7条回答
  •  天命终不由人
    2020-12-04 16:11

    Yes, as of now you still need to have a domain name to use Google OAuth in your application. If you have a static public IP and don't want to buy a domain name, you could use a free subdomain from FreeDNS to link to your public IP. Seemed to work well enough for me with a Django app.

提交回复
热议问题