Ekerot / arkimera-robotics-project

0 stars 0 forks source link

Client - Should validate that the token is a valid jwt #182

Open tr222cj opened 7 years ago

tr222cj commented 7 years ago

There are now a check weather or not the token has expired but there should be a validation of the structural integrity of the token also.

I do NOT want to add the token secret to the client and perhaps this check should be done via a specific call to the API, preferably in auth.service -> isUserLoggedIn().