rodrigoprimo / social-connect

WordPress plugin for signup/login using social media providers.
http://wordpress.org/extend/plugins/social-connect/
GNU General Public License v3.0
73 stars 40 forks source link

Expired access_token prevents login with Google+ #73

Open arthurward opened 9 years ago

arthurward commented 9 years ago

Somehow I ended up with an expired Google+ access_token in my session, and was unable to login due to "The OAuth 2.0 access token has expired, and a refresh token is not available. Refresh tokens are not returned for responses that were auto-approved." I think google-plus/callback.php has a mistake in that it always prefers the stored access token over the token that is being received from Google.