You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.
We have the problem that Facebook long-lived access token's lifetime is two weeks instead of 60 days. The expiration date doesn't correspond to original received from Facebook after Spring Social saves token to DB repository table.
The possible problem is overflow in the Spring Social code
We have the problem that Facebook long-lived access token's lifetime is two weeks instead of 60 days. The expiration date doesn't correspond to original received from Facebook after Spring Social saves token to DB repository table.
The possible problem is overflow in the Spring Social code
public AccessGrant(String accessToken, String scope, String refreshToken, Integer expiresIn) {
this.accessToken = accessToken;
this.scope = scope;
this.refreshToken = refreshToken;
this.expireTime = expiresIn != null ? System.currentTimeMillis() + expiresIn * 1000 : null;
}
expiresIn * 1000 will overflow the Integer type.
Please check
The text was updated successfully, but these errors were encountered: