darnyte / google-voice-java

Automatically exported from code.google.com/p/google-voice-java
0 stars 0 forks source link

Login not possible for Google hosted domain accounts #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to login with a hosted google account. 

Outcome:
Connection not possible.

Original issue reported on code.google.com by teisentr...@gmail.com on 31 May 2010 at 8:48

GoogleCodeExporter commented 8 years ago
I have started working on this issue - there is now a new constructor in the 
HEAD where 
you can specify the Type of Login. Statics in Voice.java provide valid strings 
for this 
parameter. 

However, even set to HOSTED_OR_GOOGLE it does not seem to work. (What users 
report back 
to me) Has anyone access to a hosted domain Google Account where you can debug, 
or is 
anyone able to provide me with a hosted domain google account (maybe 
temporarily), so 
that I can debug?

Original comment by teisentr...@gmail.com on 31 May 2010 at 8:51

GoogleCodeExporter commented 8 years ago
Created new account @atmydomain.com.  It seems to work just fine with the API.  
If
there are errors, you might need to see exactly what is being returned by 
Google when
login is attempted and if the account was set up properly.

It may be possible that accounts created in the past behave differently than 
those in
the present???

Original comment by malone.j...@gmail.com on 31 May 2010 at 11:24

GoogleCodeExporter commented 8 years ago
Ok, I have the customer create a log file which will hopefully include a stack 
trace 
of the problem.

Original comment by teisentr...@gmail.com on 1 Jun 2010 at 5:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ok, i have printed the html to console google returns when we call 
get(generalURLString);

The answer is shown in the attached screenshot. I have done the client login 
with 
HOSTED_OR_GOOGLE.

Has anyone ideas?

Original comment by teisentr...@gmail.com on 1 Jun 2010 at 8:27

Attachments:

GoogleCodeExporter commented 8 years ago
initialize the voice object with ClientType Voice.GOOGLE and it will work. 
(Most 
constructors do this already internally).

Original comment by teisentr...@gmail.com on 2 Jun 2010 at 9:23

GoogleCodeExporter commented 8 years ago
I too have noticed that some of my users *cannot* log into a HOSTED google 
account using the "ClientType Voice.HOSTED_OR_GOOGLE"

I am able to successfully log onto my Google Voice account using the above 
(my_name@gmail.com); however, a user who's email is (username@remn.com) is not 
able to log in using the HOSTED_OR_GOOGLE option. 

I believe there is still a problem with this option.

Original comment by gurur...@gmail.com on 9 Jun 2010 at 10:27

GoogleCodeExporter commented 8 years ago
Again, Just use GOOGLE as login type even though the address is 
user@hosted.com.  It should work.

Original comment by malone.j...@gmail.com on 9 Jun 2010 at 11:23