Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

afshin.asghari's avatar

Logging in to Laravel Nova using multiple guards

I'm trying to setup a Laravel Nova panel where multiple models each with separate guards can login & have different access via policy methods etc..

But it seems there isn't a documented way to do so.

Appreciate any idea or solutions.

0 likes
4 replies
afshin.asghari's avatar

Thanks but I think there's a bit of misunderstanding here, Lets say there's an Admin & User model, both extending 'Authenticatable' with separate guards defined for each, And you want them both be able to login to Nova panel, meanwhile Nova accepts only single Guard name as config entry, Thats the problem I'm looking to solve.

afshin.asghari's avatar

@aureliee123 There isn't any solution so far, either use same model for panel users and control permissions and policies or completely separate each user's panel within different projects using the same Database (which isn't good idea tbh)

Please or to participate in this conversation.