Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notify user when tokens have expired #3

Open
cdrani opened this issue Dec 7, 2017 · 0 comments
Open

notify user when tokens have expired #3

cdrani opened this issue Dec 7, 2017 · 0 comments
Assignees

Comments

@cdrani
Copy link
Owner

cdrani commented Dec 7, 2017

Notify users that tokens have expired and that once they visit the site they will need to click on the browser action. An ideal notification would just be adding a badge on the extension icon. As the tokens expire every 5 days from the day of generation, there are potentially two solutions:

  1. Just get the date that the browser actions was clicked and then exactly five days later (I think that's how long before the tokens expire) add the badge to notify the user.

  2. When a token is generated and user is redirected to kdrama site, the token expiration date and time is shown at the footer of the page. You can access this info to notify the user at a more precise time that their token is about to expire and/or expired.

Ideally the second option is better, but either would work just as well.

@cdrani cdrani self-assigned this Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant