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.

What to do when the token has expired?

See original GitHub issue

_Originally posted by @Dentrax in https://github.com/refined-github/refined-github/issues/5160#issuecomment-990683936_

Are there any error messages logged to console when it happens?

Oh, just saw this on the logs: 🙈

The token seems to be incorrect or expired. Update it in the options.

How would we get notified once Refined GitHub token got expired? I think we can add a small icon that indicated this situation. Furthermore, we can add this case in the FAQ section to remind whether token is expired or not. Wdyt? ❤️

I’m wary of bothering users with popups and notices, so I’d probably treat an expired token the same way as a missing token: Just show a notice in the console and in the options page.

Now the question is: Are we showing “token is expired” in the options page?

@Dentrax what’s in the options page? Were the icons all red?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
cheap-glitchcommented, Dec 10, 2021

Are we showing “token is expired” in the options page?

If I remember correctly, the text below the field becomes “🚫 The token is invalid or expired” as soon as it becomes (or is made) invalid.

1reaction
Dentraxcommented, Dec 11, 2021

@Dentrax what’s in the options page? Were the icons all red?

I could not remember much, but probably the icons were red and there was a warning text as @.cheap-glitch said.

Since checking the token whether it is expired or not in the Setings > Extensions > Refined GitHub > Preferences, we had better to move another place to make it more visible to users.

What about turning this blue color to red? Or adding a warning icon left next to the notification icon. Wdyt?

Screen Shot 2021-12-11 at 20 07 15
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resolve "Your token has expired" message when ...
Enter your email address in the field under 'Sorry! Your token has expired' and wait for the new email to arrive. If you're...
Read more >
Troubleshooting: How to renew an expired token?
Go to Settings > Mailbox Settings > Channels. · There will be an X in the Suspended column for the channels where the...
Read more >
How to login after getting 'Your token has expired'?
Go to https://app.goconsensus.com/signin and click on 'Forgot password?' · Type in your email address to send a reset password for your account.
Read more >
Configure Refresh Token Expiration - Auth0
Enter Inactivity Lifetime in seconds. If the refresh token is not exchanged within the specified interval, the refresh token expires and can no...
Read more >
What does "Token Expired" mean? - BlueInk Help Center
If you experience an error message that states "Token Expired", this is letting you know the system has timed out and will need...
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