Yeah I use that exact combo and it just works. Spatie roles and permissions does not care how you login. You just need to make sure that it is saving to the database. https://ldaprecord.com/docs/laravel/v2/auth/database
Aug 4, 2022
8
Level 1
LDAP Record and Spatie roles and permissions
Hello there.
We have implemented LDAP record package, v2.x, and our company employees can log in into system using their domain credentials without registration.
But also I need to add Spatie roles and permissions for those users with keeping LDAP login mechanism. Do you know how I can do that?
Many thanks in advance, Andranik
Please or to participate in this conversation.