Welcome to the Hydro Raindrop WordPress plugin repository on GitHub.
The WP Hydro Raindrop
plugin provides Hydro Raindrop Multi Factor Authentication to your WordPress site.
Download from wordpress.org (soon available).
- Download and install fresh copy of WordPress (optional)
- Make sure you have installed composer (https://getcomposer.org/)
cd wp-content/plugins
(from root of your WordPress installation)git clone [email protected]:adrenth/wp-hydro-raindrop.git
cd wp-hydro-raindrop
composer install
The last step will install the required dependencies for the plugin.
And finally login with an admin account to your WordPress site and activate the plugin.
- Login to your WordPress site as administrator.
- Go to
Plugins
and search for theWP Hydro Raindrop
plugin. ClickActivate
to activate the plugin.
If you don't have a Hydrogen Developer Account, go to www.hydrogenplatform.com to register an account.
- Under
Settings
navigate to theHydro Raindrop MFA
section and input your Application information to enable Hydro Raindrop MFA to your WordPress site. - Under
Edit My Profile
, enter your HydroID in theHydro Raindrop MFA
section. - Follow the verification procedure to activate MFA for your account.
Site Editors / Authors / etc. can enable the Hydro Raindrop MFA from their profile page.
- SSL MUST be enabled for MFA to work.
- PHP 7.0 or higher is required.
- Login as a Site Editor
- Create a page (programmatically)
- Use the following shortcodes on this page (required!):
[hydro_raindrop_mfa_form_open]
: renders the form opening element.[hydro_raindrop_mfa_form_close]
: renders closing element with the wp_nonce field.[hydro_raindrop_mfa_digits]
: renders 6 digits which should be entered into the Hydro app.[hydro_raindrop_mfa_button_authorize]
: renders the "Authorize" button; customize the look of the button using CSS classhydro-raindrop-mfa-button-authorize
.[hydro_raindrop_mfa_button_cancel]
: renders the "Cancel" button; customize the look of the button using CSS classhydro-raindrop-mfa-button-cancel
.
- Under
Setting
navigate to theHydro Raindro MFA
section and select the page you created.
https://www.hydrogenplatform.com/developers
https://github.com/adrenth/wp-hydro-raindrop/issues
https://github.com/adrenth/wp-hydro-raindrop/issues
Please make sure to obey the WP code styling by using PHP Code Sniffer with WordPress rules loaded into your IDE. If you want to address an issue/bug, please create an issue first.