Laravel-Backpack / PermissionManager

Admin interface for managing users, roles, permissions, using Backpack CRUD
http://backpackforlaravel.com
Other
516 stars 166 forks source link

Login With LDAP #335

Closed hans0801 closed 1 year ago

hans0801 commented 1 year ago

Bug report

I wanna say thanks for your great work for this repo.

What I expected to happen: Is it possible if the login and auth using LDAP(Active Directory)? If yes, is it any guidance?

Thanks

welcome[bot] commented 1 year ago

Hello there! Thanks for opening your first issue on this repo!

Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that.

Backpack communication mediums:

Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch.

Thank you!

-- Justin Case The Backpack Robot

tabacitu commented 1 year ago

Hi @hans0801 ,

This package actually doesn't have anything to do with authentication. It's just a few screens that help you manage the Users, Roles and Permissions tables as created by https://github.com/spatie/laravel-permission

Backpack does ship with authentication out-of-the-box. But it's only email & password authentication. You can disable the Backpack auth entirely in your config/backpack/base.php and any other auth you want. I'm sure you can find a LDAP package for Laravel you like. Just make sure you also change the CheckIfAdmin middleware to make sure whoever is logged in is an admin 😉

Hope it helps. Cheers!