DEV Community

Discussion on: Build a JWT Authenticated API with Lumen(v5.8)

Collapse
 
bosz profile image
Fongoh Martin T.

Ok thanks. I tried using the default and it keeps failing and when i use dev-develop, it worked well.

Thanks again for the tutorial, nice, easy and straight to the point.

I come again with one question. If i log into different devices, eg 4 different clients and have 4 different tokens, will all 4 be valid simultaneously? If not, what will you suggest to be done to ensure multiple tokens are valid across different devices.

:)

Thread Thread
 
ndiecodes profile image
Ndifreke Friday

Every Token Generated that is yet to expired is valid; So yes, a user can have multiple tokens across multiple devices.