title: What is the relationship between Spring social and oauth2 protocol?
body: <p>I read some stuff about oauth2 protocol and its concepts like:</p>
  
  <ul>
  <li>resource owner</li>
  <li>resource server</li>
  <li>authorization server</li>
  <li>grant types and etc..</li>
  </ul>
  
  <p>Does spring-social use oauth2 protocol?</p>
  
  <p>For example if I want to have social login with facebook, what is the role of facebook, appTest,...
  in oauth2 terms?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>After a considerable amount of searching i found <a href="https://www.credera.com/blog/ecommerce/spring-social-alternative-oauth" rel="nofollow noreferrer">https://www.credera.com/blog/ecommerce/spring-social-alternative-oauth</a>.</p>
  
  <p>but i'm still confused about oauth2 concepts authorization server, resource server and ... in spring social.</p>