Skip to content

rwkyyy/two-factor-sms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Two Factor WordPress Plugin - SMS Authentication Option

I’ve worked with several clients who needed WooCommerce Two-Factor Authentication via SMS. Since many of them use a local SMS gateway, I developed this small extension that only requires an updated SMS gateway call to function properly.

Requirements

What does it do?

This extension adds a new gateway option to the Two-Factor plugin for SMS-based authentication.

What do I need to change for it to work in my setup?

You’ll need to update the API call to integrate with your specific SMS gateway provider.

The current version is considering a standard API + URL to call, as follows:

API KEY: https://github.com/rwkyyy/two-factor-sms/blob/main/inc/two-factor-sms-class-extension.php#L59

URL: https://github.com/rwkyyy/two-factor-sms/blob/main/inc/two-factor-sms-class-extension.php#L66

Anything else?

Out of the box, the plugin retrieves the billing_phone from the user profile and sends the authentication SMS to this number. Because of this, WooCommerce is required.

What if I do not want/have WooCommerce?

You can edit the "plugin" and change it's phone number field to whatever you wish!

Can you help me set it up?

I am pretty busy, but sure, DM and maybe.

About

Extending implementation of two-factor for SMS gateways

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages