spring-attic / spring-social

Allows you to connect your applications with SaaS providers such as Facebook and Twitter.
http://projects.spring.io/spring-social
Apache License 2.0
619 stars 351 forks source link

ReconnectFilter cant renew the token expire in case of ExpiredAuthorizationException (spring social facebook) #120

Closed thalespf closed 10 years ago

thalespf commented 10 years ago

Passing the provider id to the ExpiredAuthorizationException in a way that the ReconnectFilter can renew the expired token associated to this provider id. In another way the provider id was the string "null" and the session could not be deleted and consequently renewed through ConnectController.

After that the filter removes the old facebook connection and creates a new one through a POST in /connect/facebook?reconnect=true of the ConnectController.

habuma commented 10 years ago

I had resolved this myself before seeing this PR. Closing this PR.