How to access JWT from laravel blade?

Solution:

You can use JWTAuth like Auth:

After you authenticate, get the user

$user = JWTAuth::user();

then pass data to view:

return view('posts', ['user' => $user]);

and you can use the data in blade:

{{ echo $user->id; }}