Support the ongoing development of →
Authentication Security
Last updated 2 years ago.

Try creating a Route group with your auth middleware.

All routes in the group will be protected.


I was using route groups, so I have added it in there and it works fine :). Thanks for your help.

I'm still a bit confused about why I had to use a workaround though. Unless the fact that I am using route groups is the problem.


Sign in to participate in this thread!


Your banner here too?

RedRay redray Joined 22 Dec 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.