Login   Register  
PHP Classes

Google bearer tokens

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      PHP OAuth API  >  All threads  >  Google bearer tokens  >  (Un) Subscribe thread alerts  
Subject:Google bearer tokens
Summary:Having trouble getting Google to refresh bearer token
Author:Bart Steward
Date:2013-04-10 17:43:53
Update:2013-04-10 23:48:14

  1. Google bearer tokens   Reply   Report abuse  
Picture of Bart Steward
Bart Steward
2013-04-10 17:43:53

My understanding is that bearer tokens should be automatically refreshed by the library when the expire. That is not happening for me. Is there something I need to do?


  2. Re: Google bearer tokens   Reply   Report abuse  
Picture of Manuel Lemos
Manuel Lemos
2013-04-10 23:48:14 - In reply to message 1 from Bart Steward
Are you setting the offline variable when you get the token for the first time? That is necessary, so the class receives the refresh token to exchange the expired token.