Support the ongoing development of →
Laravel API Passport
Last updated by @azamatgusov033 2 years ago.

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.


Sign in to participate in this thread!


Your banner here too?


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

Your logo here?

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

© 2024 - All rights reserved.