Mar 12th, 2012, 03:14 PM
spring-social-google & access_type offline
I'm not sure if this is the best place to ask this but I've been trying out spring-social-google (https://github.com/guznik/spring-social-google) and so far it seems great. One permission I'd like to request from the user is access_type offline. It's similar to Facebook's offline_access scope except it's not a scope. Instead, it's a parameter that is appended to the authentication url. I can hack the GoogleOAuth2Template to add the parameter, but it seems like there should be a way to pass it from the sign in form.
Is there a *right* way to do this?