Implement oauth2 in to existing sprig boot application
<p>I have a spring boot application that i need to integrate OAuth2 into. This means running both a resource and Authorization Server. Currently i am using Java config and have a customer UserDetails Object and service along with a relatively standered WebSecurityConfigurerAdapter. I want to allow current user to long in restfully using OAuth2. Unfortunately i need to do this but cant get it to work.
Thanks </p>