-
Notifications
You must be signed in to change notification settings - Fork 635
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Custom login forms #1471
Comments
For craft 2 i just created a plugin for this. I did have to use a nasty workaround to get things working. Right now all CP pages are blocked until the 2FA is verified (this all happens after login). |
Thanks for sharing, @roelvanhintum. Curious what the hack was you had to use. |
@takobell The ugliest part is logging the user in and logging out when the tries to bypass the 2FA page. This means verifying every page: https://github.com/born05/craft-twofactorauthentication/blob/master/TwoFactorAuthenticationPlugin.php#L56 The second part is the copied method to give the same result as a normal login. |
Any idea whether this will be part of Craft CMS 3? I am very much interested in having a different authentication flow for the admin-side of Craft CMS, in my case to have SSO-type of login |
@qrazi Not going to make it into 3.0 but maybe a 3.x release. |
Maybe good to know, in the next update a |
With the current setup i'm able to add my own login step, except for adding a special case request. @brandonkelly Is it possible to add an option to add paths to |
The AuthManager.js should also allow a follow up or replacement, when customizing the login form or adding an extra step. |
@roelvanhintum Yep, thanks for the reminder :) |
I would like to mention our experience customizing the login form. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Description
A plugin should be able to register login forms that an admin would enable/disable for a site.
Craft would be aware of those and display them on the CP login page instead of the default login form and it would provide a way for plugins to easily add things like 2FA authentication, SSO, LADP, etc. to the Craft login page.
The text was updated successfully, but these errors were encountered: