title: Do I need resource server with Spring Security OAuth2?
body: <p>I am trying implement OAuth2 authentication with JWT tokens. If I understand, I need send credentials to authorization server, this verify my credentials, and return back signed JWT token. Next I tried implement <code>WebSecurityConfig</code> which extends <code>WebSecurityConfigurerAdapter</code>, and there I have to set which endpoints are secured and which aren't.</p>
  
  <p>But my question is: do I need resource server? It do same job as my potential <code>WebSecurityConfig</code>, or not?</p>
  
  <p>My goal is create simple JWT authentication for my website. </p>