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

前端 未结 7 2206
孤街浪徒
孤街浪徒 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:30

    You can use a dynamic DNS. I used ddns.net which offers a free solution. Basically, you enter your FQDN as this: yourcompany.ddns.net as your domain. When looked up for an IP address, the .net domain points to ddns; when ddns.net is looked up, it looks up in its database for your company, returns the IP. So mine looks like this: https://wigwam.ddns.net and everything works fine. You don't need to buy a domain, you can substitute your known IP, and Google is happy with that.

    Your IP must be static, of course.

    0 讨论(0)
提交回复
热议问题