grails / grails-spring-security-oauth2

Spring security Oauth Grails 3 plugin
https://grails.github.io/grails-spring-security-oauth2/
Apache License 2.0
5 stars 13 forks source link

Doc: How to run the init-oauth2 command with Grails 6 #47

Closed sdelamo closed 11 months ago

sdelamo commented 1 year ago

Docs say:

grails init-oauth2 <domain-class-package> <user-class-name> <oauthid-class-name>

However, that does not work. I tried with:

 ./gradlew runCommand "-Pargs=init-oauth2 com.yourapp User OAuthID"

Similar to what we tell users to do in spring security core.

puneetbehl commented 1 year ago

It should work with the latest release.