artdarek / oauth-4-laravel

OAuth Service Provider for Laravel 4
684 stars 217 forks source link

token has expired #86

Open jcergolj opened 10 years ago

jcergolj commented 10 years ago

When trying to login with linkedin I get this exception: OAuth \ Common \ Token \ Exception \ ExpiredTokenException Token expired on

Then I've tried to renew it

$token = $linkedinService->requestAccessToken($code); if($token->getEndOfLife() < time()){ $linkedinService->refreshAccessToken($token); }

But get again new exception.