-
Notifications
You must be signed in to change notification settings - Fork 159
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
[WIP] Two Factor User Profile Shortcode #261
Conversation
I understand that there are issues with FIDO U2F not working outside WP admin and also some issues with multi sites. But, is there a way I can use the shortcode feature without FIDO U2F. I am willing to experiment it on a single production site. |
The new interface for updating TOTP is not working, I used - This resolved the setting of the key in the admin as well as on the front end. The frontend shortcode is working for TOTP, I have not tried FIDO U2F. |
Thanks for testing the work in progress @olasinola! As you can see -- this is a pretty large changeset and touches many areas of the plugin so I'm not sure this can be implemented in one go without breaking things. I also don't know when I'll have time to continue with this. It would be useful to split this up into smaller fixes somehow. |
Hi everyone. We needed 2FA for our WordPress meetup website and @wpscholar recommended this plugin over the other ones, so I merged this feature/profile-shortcode branch into the current master to get the latest updates, and then fixed the code so that the TOTP settings actually save from the front-end shortcode. I wasn't sure of the protocol for coming in on someone else's branch (and it doesn't look like there's any discussion the Slack channel), so you can find the working copy on the master branch here: https://github.com/wpgwinnett/two-factor @olasinola |
@naomicbush was it able to show TOTP QR code and backup keys as well? You mean you've got it fully functional from shortcode in frontend? |
Just recently tried - |
@kasparsd any chances porting |
@kasparsd perhaps this might be best to close and look to craft a block for this instead? |
This requires a fresh start so I'm closing it out. |
Fixes #247.
Approach
Abstract the profile settings away from WP core user profile.
Introduce a shortcode for rendering the two-factor user settings.
Known Issues
WP_List_Table
used for FIDO U2F settings doesn't work outside WP admin.