-
Notifications
You must be signed in to change notification settings - Fork 184
use both database and adldap for auth #18
Comments
This already occurs with the Adldap laravel Auth driver, it creates a local database record of an authenticated LDAP user. If you're looking to use the eloquent auth driver along side the Adldap auth driver, you'll need to switch your selected auth driver on the fly using |
you're awesome, thanks |
No problem! Any other concerns / questions please don't hesitate to create an issue. |
The Auth driver indeed creates a local database record and syncs the password, but if the Domain Controller is not available, I expect the login still succeeds if the password matches the one in the database. For local development, I don't have a domain controller available, so authentication always fails when the adldap auth driver is used. |
@modbase I agree that this should be a configurable option. I'll be implementing this on the Laravel repo. |
i will have some users authing against the db and some authing against the active directory.
i've accomplished this with the standard laravel auth controller and the Adldap::authenticate() method and some duct tape.
just wondering if there is an easier/more seamless way
thanks, i love this
The text was updated successfully, but these errors were encountered: