We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbfffb commit a333277Copy full SHA for a333277
src/Service.js
@@ -630,7 +630,7 @@ Service_.prototype.getToken = function(optSkipMemoryCheck) {
630
* @private
631
*/
632
Service_.prototype.isExpired_ = function(token) {
633
- var expiresIn = token.expires_in || token.expires;
+ var expiresIn = token.expires_in_sec || token.expires_in || token.expires;
634
if (!expiresIn) {
635
return false;
636
} else {
0 commit comments