spring-attic / spring-social

Allows you to connect your applications with SaaS providers such as Facebook and Twitter.

Home Page:http://projects.spring.io/spring-social

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What if the application needs multiple app accounts of the same provider

jhcao23 opened this issue · comments

I believe I am an experienced developer taking advantage of Spring Social. Now I encounter an exceptional question which is out of our original expectation - what if my application/platform needs more than one apps of the same provider?
For example (a random example to demonstrate this idea only), we know developers can create APPs from Facebook developer site; if your e-commerce platform has to create one App for your general users(buyers) and another App for business(sellers) from Facebook and, but your backend|platform needs to perform actions(at least social login) for all of these users at the same login portal over the same database, how can we handle this special case? If not easy, is there anyway we can do workaround with Spring Boot?