An attempt to make an oauth 2.0 provider as a grails plugin work. Based on https://github.com/adaptivecomputing/grails-spring-security-oauth2-provider