c0debrain / socialauth

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

Request for multiple key sets #325

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a requirement for using different API key-secret combination for 
different users of the website.
Current version (4.3) of socialauth doesn't support this, it only allows one 
key-secret pair for each provider.

Is there any provision to make the above case work? 
Are there any plans to add this functionality?
If we do the modification, which part of the code should be modified to support 
this.

Original issue reported on code.google.com by mit...@blusynergy.com on 28 Jan 2014 at 1:16

GoogleCodeExporter commented 9 years ago
I am also getting same issue, i have many users whose secret key is different 

Original comment by che...@blusynergy.com on 29 Jan 2014 at 5:28

GoogleCodeExporter commented 9 years ago
You can use the addProviderConfig(final String providerId,final OAuthConfig 
config) method of SocialauthConfig class.

Create a socialauthConfig object.
Create a OAuthConfig object for the required provider and add this object using 
above method.
Create new SocialAuthManager object in that case and pass this configuration to 
that manager object.

Original comment by tarun.na...@3pillarglobal.com on 29 Jan 2014 at 1:18

GoogleCodeExporter commented 9 years ago
Please open a new issue if you are still facing the problem.

Original comment by tarun.na...@3pillarglobal.com on 5 Feb 2014 at 3:25