niko-dunixi / google-voice-java

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

2-Step Authentication #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run test.java
2. Enter username of an account that has 2-step verification enabled
3. Enter password

What is the expected output? What do you see instead?
Prompt for the verification code sent to phone, if it is time/money costly to 
implement OAuth 2.0 now, I think an error message suggesting to the user that 
they should go into their google privacy settings and set up an application 
specific password that would work with ClientLogin API. Instead, it assumes it 
just assumes it is an incorrect username/password error.

What version of the product are you using? On what operating system?
v1.14, Mac OS Lion

Please provide any additional information below.
https://developers.google.com/accounts/docs/OAuth2

Original issue reported on code.google.com by isada...@gmail.com on 28 Jun 2012 at 9:06

GoogleCodeExporter commented 9 years ago
This more of an enhancement than a defect, but not sure how to mark it as such.

Original comment by isada...@gmail.com on 29 Jun 2012 at 2:46

GoogleCodeExporter commented 9 years ago
I've been doing research on OAuth. As far as I know, it is not possible to use 
OAuth2 with Google Voice. We can't use OAuth1 because there is no known "scope" 
for GV. We can't use OAuth2 because there is no API page for GV.

*sigh*

Original comment by iflifewe...@gmail.com on 15 Jul 2012 at 10:22

GoogleCodeExporter commented 9 years ago
Application specific password works, OAuth cannot be used without GV offering 
it. Please add a new defect asking for a better error message in that case. 
Thank you.

Original comment by teisentr...@gmail.com on 11 Dec 2012 at 11:29