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

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

    I used my public hostname. It helps if you have a static IP address. I used http://www.displaymyhostname.com/ to get my hostname. I plugged it straight into the Authorized JavaScript origins field when I created a new Web Application Client ID.

    P.S. My hostname looked something like this: 111.111.111.111.static.exetel.com.au

提交回复
热议问题