question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Token is not showing expired

See original GitHub issue

I am using the standard clock, but I am in Japan (which means different time zone). The permission has NOT been revoked and I can still see it on the permissions page : https://myaccount.google.com/u/1/permissions

cred.Issued is {7/17/2018 11:53:49 AM} about 30 minutes ago, expiredTimeInSeconds is 3600

image

With this bug it seems there is no way to revoke permission to the app.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23

github_iconTop GitHub Comments

1reaction
chrisdunelmcommented, Aug 6, 2018

The access-token is now refreshed at 6 minutes before it expires. See TokenResponse.cs. The refreshing itself is managed by TokenRefreshManager.cs. The check whether to refresh is in AuthorizationCodeWebApp.cs for web apps, or AuthorizationCodeInstalledApp.cs for installed apps.

1reaction
chrisdunelmcommented, Jul 17, 2018

@Worthy7 Thanks for reporting this issue, I’ve had a very quick look at the code and can’t immediately see anything wrong. I’ll look at reproducing this in the next day or two.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Token not expiring? - Authentication
Either the token is not expiring or I'm not understanding how an "expiration" works. Using Postman, I first call /auth/credentials to login ...
Read more >
Access Token is not valid or has expired
By default AccessToken expiration is set to 7 days. When you get the expired token error, you should logout the user on the...
Read more >
node.js - Json web token does not expire
The thing is that the token does not expire after a minute, am I missing something? EDIT: I implemented same thing which is...
Read more >
Access token expiry time is not getting applied on the JWT ...
When I get an access token from Auth0, expiry time is set as the same time of the query. The provided values show...
Read more >
Token expiration and revocation
Token expired due to lack of use. GitHub will automatically revoke an OAuth token or personal access token when the token hasn't been...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found