Support the ongoing development of Laravel.io →
Laravel Lumen Passport
  • Provider Passport Version: 10.1.3
  • Provider Lumen Version: 8.2.7
  • Provider PHP Version: 8.1
  • Consumer Passport Version: 7.5.1
  • Consumer Laravel Version: 5.8.38
  • Consumer PHP Version: 7.4
  • Database Driver & Version: Postgre

Description:

Hi, We're using a lumen micro-service for managing our authentication logic (token provider), and using its tokens in another Laravel 5.8 app for authentication (token consumer) and both apps are connected to same database.

It turned out tokens generated by provider service are not authorized in consumer app just in first second after generation but if we put a delay around 1 second they will be authorized. we also tested tokens in provider project and all generated tokens work well and get authorized with no delay.

This problem is really wired and we have no clue to where and what to search for. would love to hear your thoughts.

Last updated 3 years ago.
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.

© 2025 Laravel.io - All rights reserved.