How I can get or check auth user without auth:sanctum. I try get auth user auth()->user()
from guest route but I get only null
. And yes I pass token but still get null nested user. But if I try with route inside auth:sanctum
all ok.
You need use auth('sanctum')->user(); or auth('sanctum')->check();