Search code examples
grailsremember-mespring-security-oauth2

Is it possible to automatically activate remember-me upon OAuth2 in Grails 2.3


I integrated the spring-security-oauth plugin into my app, and the login over FB or Google seems to be working fine.

The problem I have now, is that the authentication expires along with the tomcat session, which is not what it should be. I want the OAuth-authentication to be persistent on client's machine. Some sort of spring security's remember-me functionality is needed.

Is there a possibility to activate it out-of-box?

TIA


Solution

  • so, after doing some research and talking the plugin creator here http://github.com/enr/grails-spring-security-oauth/issues/9, the solution was found. It will be available in the upcoming release, or you can do it yourself