An example on how to implement an OAuth 2.0 Provider with Spring Security in Grails