PHPackages                             adrenth/wp-hydro-raindrop - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. adrenth/wp-hydro-raindrop

AbandonedArchivedWordpress-plugin[Authentication &amp; Authorization](/categories/authentication)

adrenth/wp-hydro-raindrop
=========================

A WordPress plugin to integrate Hydro Raindrop MFA

2.1.1(7y ago)5184GPL-2.0PHPPHP ^7.0

Since Jul 12Pushed 7y ago4 watchersCompare

[ Source](https://github.com/adrenth/wp-hydro-raindrop)[ Packagist](https://packagist.org/packages/adrenth/wp-hydro-raindrop)[ RSS](/packages/adrenth-wp-hydro-raindrop/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (2)Versions (18)Used By (0)

WP Hydro Raindrop
=================

[](#wp-hydro-raindrop)

[![GitHub issues](https://camo.githubusercontent.com/e11c57a608f56efcaa326e216c4d540472cf36e3cdddeb7366fd1e73d4294168/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f616472656e74682f77702d687964726f2d7261696e64726f702e737667)](https://github.com/adrenth/wp-hydro-raindrop/issues)[![GitHub forks](https://camo.githubusercontent.com/784a0f2349057984985a63b3a6ede4ddb18b37a76e055e5cc7a213a2a87e1e50/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f616472656e74682f77702d687964726f2d7261696e64726f702e737667)](https://github.com/adrenth/wp-hydro-raindrop/network)[![GitHub stars](https://camo.githubusercontent.com/507ed0b417228a1e8eeb4ddace7f6d04ffe9abd7833dc668bb89399d363f0b66/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f616472656e74682f77702d687964726f2d7261696e64726f702e737667)](https://github.com/adrenth/wp-hydro-raindrop/stargazers)[![GitHub license](https://camo.githubusercontent.com/9f7187efa8ed29ff5d1fc447af8752041794b49a55a83ef6b2a58d7331e1bc11/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616472656e74682f77702d687964726f2d7261696e64726f702e737667)](https://github.com/adrenth/wp-hydro-raindrop)[![Version](https://camo.githubusercontent.com/25b517d3557c6159d4c24b18e62b9b4e05eede09b869fa74870e01678b499164/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d322e302e322d627269676874677265656e2e737667)](https://camo.githubusercontent.com/25b517d3557c6159d4c24b18e62b9b4e05eede09b869fa74870e01678b499164/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d322e302e322d627269676874677265656e2e737667)

Welcome to the Hydro Raindrop WordPress plugin repository on GitHub.

[![Hydro Logo](https://camo.githubusercontent.com/684c018611c8f3965ecbee1b289d0ef2ad54d1e704eb3e1ca667274b2705dc10/68747470733a2f2f692e696d6775722e636f6d2f736c63436570422e706e67)](https://camo.githubusercontent.com/684c018611c8f3965ecbee1b289d0ef2ad54d1e704eb3e1ca667274b2705dc10/68747470733a2f2f692e696d6775722e636f6d2f736c63436570422e706e67)

The `WP Hydro Raindrop` plugin provides Hydro Raindrop Multi Factor Authentication to your WordPress site.

 [![Hydro Raindrop 2FA vs Google Authenticator](https://camo.githubusercontent.com/dfc580512cbc6004a16009ec0ab0fe36dd454f4b4398ce39932763b07e546f9d/68747470733a2f2f696d672e796f75747562652e636f6d2f76692f6438386a625064784938382f302e6a7067)](https://www.youtube.com/watch?v=d88jbPdxI88)

Features
--------

[](#features)

- Requires minimum hassle to setup
- Intercepts the Login automatically
- Allows users to set-up MFA with their HydroID
- Instant Authentication

> Note: Free Hydro Mobile App is required to complete the MFA process. You can get iOS App [here](https://goo.gl/LpAuzq) or the Android App [here](https://goo.gl/eNrdn2).

Installation
------------

[](#installation)

You can install the plugin using one of the methods outlined below:

### A) From within WordPress

[](#a-from-within-wordpress)

1. Visit 'Plugins &gt; Add New'
2. Search for 'Hydro MFA'
3. Activate `WP Hydro Raindrop` plugin from your Plugins page.
4. Follow the 'After activation process' outlined below.

### B) Manually with plugin archive (advanced)

[](#b-manually-with-plugin-archive-advanced)

1. Upload the `wp-hydro-raindrop` folder to the `/wp-content/plugins/` directory.
2. Activate the `WP Hydro Raindrop` plugin through the 'Plugins' menu in WordPress.
3. Follow the 'After activation process' outlined below.

Download the plugin from WordPress.org: [WP Hydro Raindrop](https://wordpress.org/plugins/wp-hydro-raindrop/), or install it directly from WordPress (Navigate to **Plugins** &gt; **Add new** &gt; Search for 'hydro')

### C) Manually from GitHub (advanced)

[](#c-manually-from-github-advanced)

- Make sure you have installed composer ()
- `cd wp-content/plugins` (from root of your WordPress installation)
- `git clone git@github.com:adrenth/wp-hydro-raindrop.git`
- `cd wp-hydro-raindrop`
- `composer install` (This will install the required dependencies for the plugin.)

After activation process
------------------------

[](#after-activation-process)

When the plugin is activated, three pages are automatically created:

- Hydro Raindrop MFA Page (`/hydro-raindrop/`)
- Hydro Raindrop MFA Settings Page (`/hydro-raindrop/settings`)
- Hydro Raindrop MFA Setup Page (`/hydro-raindrop/setup`)

Each page contains it's corresponding shortcode which will be responsible for the Hydro Raindrop MFA implementation to work. These pages are meant for customization and integration in your own custom theme.

By default the Hydro Raindrop **integrated** pages are enabled.

The **following steps are necessary** to enable Hydro Raindrop MFA on your site:

### Hydro Raindrop MFA Activation (admin side)

[](#hydro-raindrop-mfa-activation-admin-side)

- Create an account over at [Hydrogen Website](https://www.hydrogenplatform.com/).
- Apply for **Production Access**. Once approved, generate your `Client ID`, `Client Secret` and `Application ID`.
- In WordPress from the Main Menu navigate to **Hydro Raindrop** -&gt; **Settings** -&gt; **API Settings** and enter the above details, select Production Mode and the plugin is ready for use.
- Set-up the preferred MFA method (and other customization options) in the tab **Customization**

### Hydro Raindrop MFA Activation (user side)

[](#hydro-raindrop-mfa-activation-user-side)

There are three MFA setup methods:

- **Optional**: User decides to enable MFA on their account.
- **Prompted** (default): MFA setup screen will be prompted after logging in. User can skip this step and setup MFA later.
- **Enforced**: MFA is forced site wide. Users will have to setup MFA after logging in.

That's it!

Requirements
------------

[](#requirements)

- **SSL MUST be enabled for MFA to work.**
- PHP 7.0 or higher is required.

Customization
-------------

[](#customization)

### Custom Hydro Raindrop MFA Page

[](#custom-hydro-raindrop-mfa-page)

- Login as an administrator
- Go to **Hydro Raindrop** -&gt; **Settings** &gt; **Customization**.
- At **MFA Page** select the **Hydro Raindrop MFA Page** or select **Use default MFA Page** to stick with the defaults.
- Make sure the shortcode `[hydro_raindrop_mfa]` is present on this page.

#### Available Shortcodes

[](#available-shortcodes)

Use these shortcodes in your custom templates/pages:

- `[hydro_raindrop_mfa_flash]`: Renders flash messages.
- `[hydro_raindrop_mfa_form_open]`: Renders opening `` tag.
- `[hydro_raindrop_mfa_digits]`: Renders the MFA digits.
- `[hydro_raindrop_mfa_button_authorize class="my-css-class" label="Authorize"]`: Renders the Authorize (submit) button.
- `[hydro_raindrop_mfa_button_cancel class="my-css-class" label="Cancel"]`: Renders the Cancel button.
- `[hydro_raindrop_mfa_form_close]
