I am using laravel 5.5 with passport authentication for API Routes. I am using bearer token. The problem is that the old generated token is accepted in place of unauthenticated. Steps :
- create one bearer token. Use it. It is working fine.
- create another token without logout and it is working fine.
- now if I use the first created token it is also working. It should not be working but it is accepted.
Is there any way by what I can achieve this? Thanks in advance.