donbeave-archive / grails-spring-security-oauth-facebook

Facebook support for Grails Spring Security OAuth
Apache License 2.0
2 stars 8 forks source link

At the moment, the plugin only gets a short lasting token #2

Open monksy opened 9 years ago

monksy commented 9 years ago

At the moment this plugin only recieves a short lived token. Is it possible to extend the functionality to request a longer lived token instead?

[I do realize that at the moment, the access token is not currently saved... I am talking with the creator of the grails-spring-security-oauth-facebook group to get that changed. (They're currently saving the profile/service id as the access token)

https://developers.facebook.com/docs/facebook-login/access-tokens#extending

enr commented 9 years ago

see https://github.com/enr/grails-spring-security-oauth/issues/15