title: Spring boot microservice with OAuth 2 and JWT for Security
body: <p>I am developing a Spring boot application for payment using microservices, which will be consumed by mobile application and web application. </p>
  
  <p>1) Users need to be authenticated for accessing the mobile app</p>
  
  <p>2) Third party mobile apps using my services need to be authenticated (with my app)</p>
  
  <p>3) Web applications using my services need to be authenticated. </p>
  
  <p>My user details will be there in DB or LDAP. I have plans for integrating IBM API management and the deployment will be in on-premise servers. Based on this requirement how I need to design and implement my solution? </p>
  
  <p>After going through different blogs I am confused now. So a proper guidance will be very helpful for me.</p>