abnkinguk41 / gwt-oauth2

Automatically exported from code.google.com/p/gwt-oauth2
Apache License 2.0
0 stars 0 forks source link

oauth1 implementation #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great if you could also implement oauth ver 1 as part of this 
library, as that is used by many providers... If you add this, then the same 
library can be used for oauth + oauth 2 authentication.

Regards,
Arvind.

Original issue reported on code.google.com by arv...@taurusseo.com on 18 Mar 2012 at 11:32

GoogleCodeExporter commented 9 years ago
Unfortunately the OAuth 1.0 spec does not include a pure JS flow. The OAuth 2.0 
spec does, and that's what the GWT library does.

OAuth 1.0 could easily be implemented in a GWT application but most of the 
actual work would be done on the server in regular Java code, and there are 
plenty of existing Java libraries to manage that. Personally I recommend 
http://code.google.com/p/google-oauth-java-client/wiki/OAuth1

Original comment by jasonhall@google.com on 19 Mar 2012 at 4:11

GoogleCodeExporter commented 9 years ago
Hi

In that case, can you create an implementation of oauth 1.0 in a GWT 
application? That uses server side java code to actually do the heavy 
lifting? Even that would be very helpful...If you cannot create
the implementation, can you point me to a good how to or wiki explaining how 
to do this?

Thanks and Regards,
Arvind.

Original comment by arv...@taurusseo.com on 19 Mar 2012 at 5:20

GoogleCodeExporter commented 9 years ago
I could, but again, most of the code would be in the server-side Java code, the 
only parts that would have anything to do with GWT would be links to open the 
server-side pages, and that's a.) easily done using Anchors, and b.) something 
that will usually depend heavily on each application's requirements.

Original comment by jasonhall@google.com on 19 Mar 2012 at 5:51