Support the ongoing development of Laravel.io →
Laravel API Passport
Last updated by @azamatgusov033 1 year ago.
0

I am not sure how to do it exactly but I try to give you some hints where I would look. Maybe you can get the token with the auth()->user() function and then register your middleware after (!) the middleware which hydrates the current user is executed.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.