Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module is not compatible with silverstripe/mfa out of the box #25

Open
robbieaverill opened this issue Jul 25, 2019 · 1 comment
Open

Comments

@robbieaverill
Copy link
Contributor

Essentially a copy of silverstripe/silverstripe-activedirectory#130 (SS3 issue in the equivalent repository).


The way that both LDAP and MFA are architected (by necessity) means that integrating MFA into LDAP would require customised project code (see silverstripe/silverstripe-mfa#173 and silverstripe/silverstripe-mfa#287).

We may want to look at a way to make this easier with SilverStripe 4. Perhaps putting more of the MFA logic into extensions might be an idea, where possible. This may also require some core changes.

The LDAP module (and the MFA module) might be able to make the PHP class hierarchy soup a little less salty by not overriding methods like this, but using Injector definitions to change the class names instead - however, that would be global, and would not only apply for specific authenticators, so achieving this might also require some changes in core to do something like "if there's a specific LoginForm configured for [current authenticator name] then use it, otherwise use the default LoginForm implementation".

Anyway, raising here as a placeholder issue - not sure what will be actioned from this yet.

@ScopeyNZ
Copy link
Contributor

I commented briefly in the MFA module about this (silverstripe/silverstripe-mfa#173 (comment))

I think we can add some code here to provide support OOTB with zero configuration. It's not really possible with core architecture (I think) right now to build it in a way where they can combine seamlessly (with zero overlap).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants