gbdematos's avatar

Laravel Passport Personal Token failing validation (exp=0)

I'm trying to create a Personal Access Token to use on Postman.

I followed the same steps as the video from "What's new in Laravel 5.3" where Taylor does that, but I keep getting "Unauthorized" on Postman...

By copying and pasting the generated token on jwt.io, I'm getting "exp" value = 0. Trying to get to the root of the error, I found out that on the "validation" process, it fails exactly on the "exp" validation. On the database, the expiring date is 2116-08-22.

Does anyone have any idea what is happening?

0 likes
5 replies
gbdematos's avatar

This is driving me nuts.

Created a new, fresh laravel installation, followed the exact same steps of Taylor's video, and.. same problem! :(

1 like
roulendz's avatar

The same for me :(

Can not figure out where problem

All works except Postmen get api/user

gbdematos's avatar

Updated passport to 0.2.4... problem remains.

Already searched a lot... how are people using/building APIs with laravel passport without having this issue? Am I doing something wrong??

Please or to participate in this conversation.