google-code-export / ooo2gd

Automatically exported from code.google.com/p/ooo2gd
1 stars 1 forks source link

Stores password locally instead of using Google's OAuth for Installed Applications #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Great plugin, but I'd feel a lot more comfortable if it used Google's OAuth for 
Installed Applications instead of sending my password around and storing it on 
disk.

https://code.google.com/apis/accounts/docs/OAuthForInstalledApps.html

Cheers!

Original issue reported on code.google.com by michael....@gmail.com on 28 Nov 2010 at 10:06

GoogleCodeExporter commented 9 years ago
Not bad idea, I was thinking about it but as for now it is too complicated. 
Because Java hasn't full control over web browser it will be confusing to 
required from user moving some special code/token and putting it to app.
But I'm not saying no. If more people will want it I will think about adding it.

Second problem which I can see is this that currently user may use OOo2GD with 
more than 1 account, with OAuth it will be probably more complicated.

Original comment by przeme...@gmail.com on 28 Nov 2010 at 11:04

GoogleCodeExporter commented 9 years ago
*nod*

Java can embed a web browser and grab the token that way:

http://djproject.sourceforge.net/ns/
http://sourceforge.net/projects/mozswing/

CB4J & JWebPane might be useful if/when they are released.

Why do you think that mixing accounts would be harder w/ OAuth than raw U/P 
credential?

Good luck!

Original comment by michael....@gmail.com on 28 Nov 2010 at 11:28

GoogleCodeExporter commented 9 years ago
One takes 15 MB, second 52 MB, so I would prefer rather force users to play 
with copy/paste of token from web page to OOo2GD than to embed in OOo2GD 
something what is more than 5 times [or even 17 times] bigger than OOo2GD ;-)

Now user may always clear credentials and put new one for another account, and 
if store credentials checkbox is unchecked user can use this another account. 
With OAuth it will be also possible but more complicated. 

Original comment by przeme...@gmail.com on 28 Nov 2010 at 11:38