Livewire session return NULL in laravel Auth middleware
I hope you are well. I have a little problem that I'll explain here in writing. 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.
Please help me.
PS: I'm trying to send links to make it clearer but I can't. I've just signed up and that's the cause.
Please or to participate in this conversation.