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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community