title: Implement Oauth2.0 Authorization Server and ResourceServer as seperate RestFul API's running on two different servers,
body: <p>Most of the tutorials in order to implement authorization server guide to use @EnableResourceServer on the main method.</p>
  <p><a href="https://developer.okta.com/blog/2019/03/12/oauth2-spring-security-guide" rel="nofollow noreferrer">https://developer.okta.com/blog/2019/03/12/oauth2-spring-security-guide</a></p>
  <p><a href="https://dzone.com/articles/build-an-oauth-20-authorization-server-with-spring" rel="nofollow noreferrer">https://dzone.com/articles/build-an-oauth-20-authorization-server-with-spring</a></p>
  <p>but already have a Controller and a set of endpoint in other project module deployed as a war.
  I just need to implement Authorization server as an api rather than a stand alone application. which will be called by a third party api.</p>