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.
You don't have permission to do this.
You're going a bit too fast! Take a break and try again in a moment.
Something went wrong! Please reload the page and try again.
Your session has expired. Please reload the page and try again.
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 isAuthenticateWaterhole
, which comes afterStartSession
. Perhaps you could throw a few debug statements in here - find out the value of$originalUser
etc.