jnorthr / socialauth

Automatically exported from code.google.com/p/socialauth
0 stars 0 forks source link

Using the auth key from a client #197

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Ok first thanks for this great library. Here is what I am doing:

I am using socialauth on a GAE server to authenticate users. Additionally I am 
passing the auth key to the frontend, to be able to make backend independent 
calls to the auth providers (e.g. facebook).

I would like to see a short tutorial, which objects I need to create on an Java 
(in my case android) client and where to set the auth key again to make calls 
to the auth provider directly from the client without redirect through the 
server.

Thanks :)
Simon

Original issue reported on code.google.com by simon.heinen on 11 Jul 2012 at 2:54

GoogleCodeExporter commented 8 years ago
There are various method in SocialAuthConfig through which you can provide 
key/secret.

You can use load(final Properties properties) method to provide your key/secret 
while creating instance.
Or you can use addProviderConfig() method to provide the config.

To work with android you can download the android version from following link

http://code.google.com/p/socialauth-android/

In android SDK you will get source code. It can help you to create android 
version.

Regards
Tarun

Original comment by tar...@brickred.com on 16 Jul 2012 at 4:18