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

Port WebAuthn registration to MadWizard library #146

Closed
wants to merge 12 commits into from

Conversation

iandunn
Copy link
Member

@iandunn iandunn commented May 2, 2023

See #114
Builds on #134, which needs to be merged first

This is currently a WIP, but will be the first step in the process of switching to the MadWizard WebAuthn library. It will port the process of registering a new key. A future PR will port the process of logging in with tne registered key.

iandunn and others added 12 commits April 28, 2023 07:37
This will give us a starting point for our version of the provider. The files were copied verbatim, and then minor changes were made to adjust file paths etc and get it working in this plugin. Future commits will swap in the MadWizard library, and make other changes to fit w.org needs.

Co-Authored-By: mcguffin <[email protected]>
Without it, tests will fail incorrectly in local environments.
otherwise get `Uncaught Error: Class "Two_Factor_Provider" not found in wp-content/plugins/wporg-two-factor/providers/webauthn/class-two-factor-webauthn.php:11`
only allow patch updates because the API isn't stable until v1.0
this didn't work b/c the ui doesn't match. need to keep the mcguffin code related to UI, but swap in the sjinks code related to credentials
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant