Open bilalsha opened 7 years ago
for grails 3 support http://alvarosanchez.github.io/grails-spring-security-rest/latest/docs/#_jwt_support
Also looking for using this one on a grails 3 app, and don't want to use spring security at all. If it doesn't work, will create a new plugin for grails 3 with the same purpose and most of the logic present on this one.
Hi. We don't have time to migrate it to Grails 3 for now. You are most welcome to create a new one, and to use as much logic from ours as you want :)
@pabloalba I have some minimal version of the plugin working in Grails 3, the thing is, I don't need to use the spring security integration, so didn't use that code, I used the Cry[toService, UrlSafeBase64Utils, the JwtStatelessTokenProvider (I don't need the default provider yet), the SecuredStateless annotation and moved the SecurityStatelessFilters to a Grails 3 interceptor/
I then interceptor I have some stuff hardcoded that would move to the config, but I think the basic flows will work soon (generate token, check token).
Also have some doubts about the username keyword currently used in to generate the token, I would like to delegate that to the user, so the user configures everything and the plugin doesn't make any assumptions on attribute names or class names. Will notify here when the basic plugin is available.
I want to know if this plugin is available for grails 3 .