

In reply to
alyn jones
alyn jones
May 19, 2025
Any update on this... i'm eager to implement onto a live site?
Hi @alyn jones,
Thanks for your patience. I have just tried to reproduce this issue with a fresh Laravel 12 installation but I can't seem to. If you could provide a minimal repro, I'd be happy to have a look.
If you're interested in digging more yourself, you can see Waterhole's middleware stack in src/Providers/RouteServiceProvider.php
. The specific middleware that translates app auth into Waterhole auth is AuthenticateWaterhole
, which comes after StartSession
. Perhaps you could throw a few debug statements in here - find out the value of $originalUser
etc.
Hello @Toby,
just a quick update for you...
i turns out its an issue with my laravel setup as i was creating a repro for you and it works perfectly fine in the repro but not in my actual app.
im struggling to find what is breaking it in my laravel app.
in the cleanly installed waterhole-repo with fresh laravel 12 install and fresh waterhole it works absolutly fine but in my laravel app with the same setup as your docs it has session issue.
not sure what the problem is.