Trying to create a client ID with a private IP address for testing purposes

867 views
Skip to first unread message

Adam S

unread,
Mar 31, 2012, 1:11:10 PM3/31/12
to google-co...@googlegroups.com
Hi there,

I'm using the Google Contacts API for the very first time, and I created a client ID for my localhost without an issue.  However, I also have a dev server with a private IP address that I use for testing but not revealing to the public (for brevity's sake, we'll call it 1.2.3.4).  When I went to create another client ID for it, I'm told that OAuth 2 redirect URL "http://1.2.3.4/oauth2callback" is invalid. 

Is this because I'm using an IP address instead of an actual domain name, and as such the potential for phishing is there (which is what I'm suspecting is the underlying cause)?  If so, how would I indicate that 1.2.3.4 is an IP for a server that only I have access to?

Thanks.

T.Hutch

unread,
May 7, 2012, 4:11:36 PM5/7/12
to google-co...@googlegroups.com
Adam, I am having the same issue.  Please tell me, were you ever able to resolve this, and how?

Thanks,
T.Hutchin

Adam S

unread,
May 7, 2012, 7:39:25 PM5/7/12
to google-co...@googlegroups.com
Yes, I was.  However, I had to register a test domain name to make it happen.  Probably not the answer you're looking for, but sadly it was the only one I could come up with.

--
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
google-co...@googlegroups.com
To unsubscribe from this group, send email to
google-contacts...@googlegroups.com
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply all
Reply to author
Forward
0 new messages