2

Where only users in Active Directory can login to the Craft Control Panel.

2

There's a feature request here that would allow custom login forms for the Craft Control Panel login page you might want to add a comment to.

In the meantime, there is a userSession.onBeforeAuthenticate event a plugin can listen to to perform any 3rd party authentication.

You can see how a similar plugin did this for front-end LDAP logins here: https://github.com/thepitagroup/adldap_craftcms

2
  • Thanks for the help. I got LDAP working. would you help how to set the user session and permissions? I do not want to save to craft user table.
    – youme
    Feb 21 '18 at 16:57
  • @youme Can you link to how you got LDAP working?
    – JMP
    May 4 '18 at 22:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.