Boyd-Thurston / LeandrasLearningApp

A learning app for children
MIT License
2 stars 0 forks source link

Expired JWT checker #2

Closed Boyd-Thurston closed 4 years ago

Boyd-Thurston commented 4 years ago

Describe the bug If JWT is expired, the website will error on checking for user details as no validation is in place as of yet for this. To resolve you need to log out (which clears JWT) then referesh the page.

To Reproduce Steps to reproduce the behavior:

  1. open website while still logged in but after JWT has expired

Expected behavior system to recognise that JWT has expired and clear it out automaticaly upon loading the site

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Boyd-Thurston commented 4 years ago

issue resloved

please see commit: add token expirey date validation commit 35cfe58817fdfd33d8b56d6f9f50672587a26849