socialsignin/mvn-archetype-socialsignin-webapp — Issue #2: Handle or prevent expiring of Facebook access tokens
Author: michaellavelle
Created: 2012-01-01 20:29:34+00:00
State: open

In the current implementation Facebook access tokens are valid for only 2 hours. A longer-lived access token can be requested by supplying a "scope=offline_access" parameter in the submit form to signin/connect with facebook

https://developers.facebook.com/blog/post/500/

This parameter is currently not being supplied, causing an ExpiredAuthorizationException to be thrown after this time.

We need to handle this exception elegantly, and/or prevent it from happening through offline_access