I have two (but let\'s image more) micro-services (API) which need to be aware of authenticated user. Ideally I would simple like to resume their sessions.
All micro
The accepted answer is outdated.
I answered and explained a bit how to properly do it in my answer on this question
I also posted what is the problem on my question at Laracasts
To quote:
the solution that is found in the link you gave is that, first it tells you to manually register the
SessionManager
to prevent theunresolvable depedency parameter #0 $app
then also register the existingSessionServiceProvider
which also binds another instanceSessionManager
.Problem with that is, some components use the other instance and other parts use the new one which causes my auth
attempt
session not being save despite actually beingput
inside.