title: spring-security-oauth2 vs spring-cloud-starter-oauth2
body: <p>I am working on building an oAuth2 application using spring boot. However, there are various sample projects in Github using <code>spring-security-oauth2</code> and <code>spring-cloud-starter-oauth2</code>.<br>
  Do we have specific scenarios where we can use a specific jar among both for an application? 
     <br> <br>Though Spring cloud is mainly used for distributed systems. There are a lot of implementations on Github using <code>spring-cloud-starter-oauth2</code> for even non-distributed applications. Thanks.</p>