spring-attic / spring-social

Allows you to connect your applications with SaaS providers such as Facebook and Twitter.
http://projects.spring.io/spring-social
Apache License 2.0
619 stars 351 forks source link

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

Open jhcao23 opened 7 years ago

jhcao23 commented 7 years ago

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?