How to set device based authentication for serverless lambda using JWT?

I am using JWT in “Serverless Framework”. The problem is that when a token is generated by a device the same token is getting authorized by all other devices. So, no matter where i generate the token if i get the token i am able to use my API’s in any device i want.

Is there any way to authenticate device in “Serverless Framework Lambda” using JWT?

1 Like

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?