I hope you are well. I have a little problem that I’ll explain here in writing and in pictures. I have a livewire component that needs to send requests using jwt. But as the livewire get request is not sending the token, I decided to modify the Authenticate middleware of laravel in order to send the token that I put in session in the livewire component, via bearer in laravel auth middleware… the problem is that the variable that I added to the session in my livewire component, returns NULL when I try to retrieve it in the Authenticate middleware.
[Laravel auth middleware] https://i.stack.imgur.com/I9slA.png
[livewire component] https://i.stack.imgur.com/kfIzw.png