jnorthr / socialauth

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

Add new Provider API #217

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Provide an API to add an AuthProvider.

It would be great if you would add An API for adding an AuthProvider to the 
SocialAuthManager.

Original issue reported on code.google.com by yoav...@gmail.com on 25 Sep 2012 at 12:52

GoogleCodeExporter commented 8 years ago
You can easily add a new provider in socialauth.

You can write your provider by extending AbstractProvider and implementing 
AuthProvider. Have a look at any provider source file for more information.

After writing your provider, make the following entries in 
oauth_consumer.properties file.

#Implementations - Add your own provider classes as shown below
#provider id should be prefixed here with 'socialauth.'
socialauth.myprovider = org.brickred.socialauth.provider.MyProviderImpl
myprovider.consumer_key = CONSUMER_KEY
myprovider.consumer_secret = CONSUMER_SECRET

Regards
Tarun

Original comment by tar...@brickred.com on 26 Sep 2012 at 8:27

GoogleCodeExporter commented 8 years ago
Closing this issue. Please reopen or logged a new issue if you are still facing 
problem in implementing custom provider.

Regards
Tarun

Original comment by tar...@brickred.com on 3 Oct 2012 at 8:25

GoogleCodeExporter commented 8 years ago
I'll try that.

BTW socialauth is the best social adapter that i could find

Thanks.

Original comment by yoav...@gmail.com on 3 Oct 2012 at 3:28