dimanche 11 février 2018

JWT Token steal issue

I am new in JWT token-based authentication. MY front-end is in angular and back-end is in Laravel. I am using JWT authentication.

So my question is after successful login i have generated token for that user and stored this token in local storage. During each request from front-end i am sending this token with it. The default expiry for token is 1 hour.

So, What happen if someone send request using logged-in in user's token if he get somehow ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire