(Quick Reference)

s2-init-oauth2-provider

Purpose

Creates the domain classes required to manage OAuth 2.0 clients in the specified package.

The general format is:


grails s2-init-oauth2-provider <package> <client> <authorization-code> <access-token> <refresh-token>

Examples


grails s2-init-oauth2-provider com.yourapp Client AuthorizationCode AccessToken RefreshToken

Description

  • Updates grails-app/conf/Config.groovy with OAuth 2.0 domain class configuration settings and creates domain classes in grails-app/domain