Title: WP-OTP
Author: noplanman
Published: <strong>2016年11月4日</strong>
Last modified: 2021年2月18日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/wp-otp.svg)

# WP-OTP

 作者: [noplanman](https://profiles.wordpress.org/noplanman/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-otp.0.6.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-otp/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-otp/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wp-otp/#installation)
 * [開発](https://ja.wordpress.org/plugins/wp-otp/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-otp/)

## 説明

With WP-OTP you can easily set up 2 Factor Authentication with One Time Passwords
for your WordPress login.
 This extra layer makes your WordPress site a lot more
secure.

The new stealth mode allows for invisible OTP code entry, making your login screen
look like any other, no extra OTP code input field.

#### Getting started

After installing and activating the plugin, every user can enable WP-OTP on their
profile page.

It’s as easy as scanning the provided QR Code or entering the OTP secret to any 
OTP generator app.
 Then just activate it by entering the generated OTP and voilà,
all set up. Now, the login requires an OTP code to succeed.

Each user gets their own secret key to authenticate with, giving them control over
their login security.

#### Development

This plugin is completely open source and a work of passion.
 If you would like 
to be part of it and join in, make your way over to the [project page](https://git.feneas.org/noplanman/wp-otp)
now. Also, if you have an idea you would like to see in this plugin or if you’ve
found a bug, please [let me know](https://git.feneas.org/noplanman/wp-otp/issues/new).

#### Configuration

 * `WP_OTP_STEALTH`: Set this to `true` to enable stealth OTP mode.

#### Filters

There are a multitude of filters to be adjusted.

 * `wp_otp_qr_code_provisioning_uri`: URI for online QR Code rendering (must contain`{
   PROVISIONING_URI}` placeholder for QR Code data).
 * `wp_otp_login_form_text`: Text for input field on the login screen.
 * `wp_otp_login_form_text_sub`: Subtext for the input field on the login screen.
 * `wp_otp_login_form_invalid_code_text`: Error text for an invalid code input on
   the login screen.
 * `wp_otp_code_expiration_window`: Set the window of code verification expiration.
 * `wp_otp_recovery_codes_count`: Number of recovery codes to generate.
 * `wp_otp_recovery_codes_length`: Length of the recovery codes.
 * `wp_otp_secret_length`: Length of the secret key.

#### Minimum requirements

WordPress 4.6, PHP 7.4.

#### Donate / Support

All [donations](https://noplanman.ch/donate) are much appreciated, thank you 🙏

[Get professional support for this plugin with a Tidelift subscription](https://tidelift.com/subscription/pkg/wordpress-wp-otp?utm_source=wordpress-wp-otp&utm_medium=referral&utm_campaign=readme)

_Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies._

#### Security

To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure.

## インストール

You can either use the built in WordPress installer or install the plugin manually.

For an automated installation:

 1. Go to ‘Plugins -> Add New’ on your WordPress Admin page.
 2. Search for the ‘WP OTP’ plugin.
 3. Install by clicking the ‘Install Now’ button.
 4. Activate the plugin on the ‘Plugins’ page in your WordPress Admin.

For a manual installation:

 1. Upload the ‘wp-otp’ folder to the plugins directory of your WordPress installation.
 2. Activate the plugin on the ‘Plugins’ page in your WordPress Admin.

## FAQ

### What if I lose my OTP authenticator?

No problem! When activating WP-OTP, you will also get a list of recovery codes that
you can use instead of entering the OTP from your authenticator app.
 Be sure to
regenerate them when you run out though, or better yet, reconfigure your WP-OTP 
to get a new secret and a new set of recovery codes.

### Can I reset my OTP secret key?

Yes, just click the `Reconfigure` button on the profile page.

### Why is there no OTP input field on the login form?

Your site admin has either disabled the plugin or enabled stealth mode.
 This means
that you will need to add your OTP (or recovery) code at the end of your password.

## 評価

![](https://secure.gravatar.com/avatar/d61627f4890bfbe1aabf449168d77bce756dff2121d608a04b3278a795d18507?
s=60&d=retro&r=g)

### 󠀁[Great tool to enable OTP for WordPress](https://wordpress.org/support/topic/great-tool-to-enable-otp-for-wordpress/)󠁿

 [pggdt](https://profiles.wordpress.org/pggdt/) 2023年12月13日

It’s working great with WordPress 6. Thank you.

![](https://secure.gravatar.com/avatar/431881c7913fe345b8f08968a0bee1eecef495354e03fad36192bebfd465da00?
s=60&d=retro&r=g)

### 󠀁[Works like a breeze](https://wordpress.org/support/topic/works-like-a-breeze-10/)󠁿

 [slippingjimmy](https://profiles.wordpress.org/slippingjimmy/) 2022年5月24日

Light and efficient!

![](https://secure.gravatar.com/avatar/97ed00bf0bb32be63aa8facf87466811bedb9faf833fe1a796323e7e81c384f6?
s=60&d=retro&r=g)

### 󠀁[Does not do anything](https://wordpress.org/support/topic/does-not-do-anything-13/)󠁿

 [info2](https://profiles.wordpress.org/agnoletti/) 2021年7月23日

I installed and activated the plugin, but it had no effect at all

![](https://secure.gravatar.com/avatar/d2611829441cde2dd7e1a5176a78e66dbba94a4d98dbe2c8a7359c5ab5b8bd89?
s=60&d=retro&r=g)

### 󠀁[Very good plugin and nice support](https://wordpress.org/support/topic/very-good-plugin-and-nice-support-2/)󠁿

 [datnv9](https://profiles.wordpress.org/datnv9/) 2020年12月4日

Thank you for this nice plugin. Stealth mode is perfect!

![](https://secure.gravatar.com/avatar/3b147f1ca091e20eb7b388a55dba0102ab541a8e7f7c7e2766f0daacde7d7b61?
s=60&d=retro&r=g)

### 󠀁[The link you followed has expired.Please try again.](https://wordpress.org/support/topic/the-link-you-followed-has-expired-please-try-again-4/)󠁿

 [ramineros](https://profiles.wordpress.org/ramineros/) 2020年8月1日 2 replies

The link you followed has expired.Please try again. i did everything to fix this
problem but could not do.. when i want to activate this plugin it gives this error..
i use dedicated server.. and i can install any other plugins easely

![](https://secure.gravatar.com/avatar/ec311601d9101567042de4bc78bddc17fb5b607f78d9b238c178f3c698ba7da8?
s=60&d=retro&r=g)

### 󠀁[Nice Work good plugin](https://wordpress.org/support/topic/nice-work-good-plugin/)󠁿

 [mydeenferozkhan](https://profiles.wordpress.org/mydeenferozkhan/) 2019年11月20
日 1 reply

In this Update 0.4.0 there is an error while trying to login. it shows critical 
error. IT works for the user which i logged in and update the plugins. It throws
error other users while logging. please fix it and update the plugin. When seeking
help with this issue, you may be asked for some of the following information: WordPress
version 5.3 Current theme: Nex Child (version ) Current plugin: WP-OTP (version 
0.4.0) PHP version 7.2.15 Error Details ============= An error of type E_ERROR was
caused in line 180 of the file /var/www/wp-content/plugins/wp-otp/public/class-wp-
otp-public.php. Error message: Uncaught TypeError: Return value of Wp_Otp\Wp_Otp_Public::
get_otp_if_enabled() must be an instance of OTPHP\TOTP, null returned in /var/www/
wp-content/plugins/wp-otp/public/class-wp-otp-public.php:180 Stack trace: If you
need more details i will share the error mail igot.

 [ 8件のレビューをすべて表示 ](https://wordpress.org/support/plugin/wp-otp/reviews/)

## 貢献者と開発者

WP-OTP はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

 *   [ noplanman ](https://profiles.wordpress.org/noplanman/)

“WP-OTP” は5ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/wp-otp/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“WP-OTP” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-otp)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-otp/)するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-otp/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/wp-otp/)を [RSS](https://plugins.trac.wordpress.org/log/wp-otp/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 0.6.1

 * Fix nonce issue when saving profile.

#### 0.6.0

 * Require at least PHP 7.4 and update all code.
 * Allow for PHP 8.0.
 * Bump dependencies.

#### 0.5.1

 * Fix activation and deactivation hooks.

#### 0.5.0

 * Require at least PHP 7.2.
 * Update OTPHP to 10.0.
 * Add native QR code rendering.
 * Harden security by adhering to WordPress Code Sniffer.

#### 0.4.1

 * Fix nullable return type when checking if OTP is enabled.

#### 0.4.0

 * Drop all custom i18n and rely on translate.wordpress.org.
 * Minimum requirements are now WP 4.6 and PHP 7.1.
 * Update OTPHP to 9.1.
 * Tested for WP 5.3.

#### 0.3.0

 * Update list of OTP mobile apps.
 * Add stealth mode (via WP_OTP_STEALTH), passing OTP code concatenated to password.
 * Add donation, support and security sections to readme.

#### 0.2.1

 * Add GitLab CI for PHP Code Sniffer.
 * Fix changed Base32 namespace.

#### 0.2.0

 * Tested for WP 5.0.
 * Update OTPHP to 8.3.3.
 * Moved project to Feneas GitLab (git.feneas.org)

#### 0.1.4

 * Tested for WP 4.8.
 * Update OTPHP to 8.3.0.

#### 0.1.3

 * Make OTP code input a normal text field, to allow input verification.

#### 0.1.2

 * Add proper localisation.

#### 0.1.1

 * Longer secret by default.
 * Replace/override packages not compatible with WordPress.

#### 0.1.0

 * First version!

## メタ

 *  バージョン **0.6.1**
 *  最終更新日 **5年前**
 *  有効インストール数 **100+**
 *  WordPress バージョン ** 4.6またはそれ以降 **
 *  検証済み最新バージョン: **5.6.17**
 *  PHP バージョン ** 7.4またはそれ以降 **
 *  言語
 * [Basque](https://eu.wordpress.org/plugins/wp-otp/)、[English (US)](https://wordpress.org/plugins/wp-otp/)、
   [German](https://de.wordpress.org/plugins/wp-otp/)、[Japanese](https://ja.wordpress.org/plugins/wp-otp/)、
   [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/wp-otp/)、[Swedish](https://sv.wordpress.org/plugins/wp-otp/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/wp-otp)
 * タグ
 * [2FA](https://ja.wordpress.org/plugins/tags/2fa/)[login](https://ja.wordpress.org/plugins/tags/login/)
   [otp](https://ja.wordpress.org/plugins/tags/otp/)[totp](https://ja.wordpress.org/plugins/tags/totp/)
   [two factor](https://ja.wordpress.org/plugins/tags/two-factor/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-otp/advanced/)

## 評価

 5つ星中4つ星

 *  [  6 5-星レビュー     ](https://wordpress.org/support/plugin/wp-otp/reviews/?filter=5)
 *  [  1 4-星レビュー     ](https://wordpress.org/support/plugin/wp-otp/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/wp-otp/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/wp-otp/reviews/?filter=2)
 *  [  2 1-星レビュー     ](https://wordpress.org/support/plugin/wp-otp/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-otp/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-otp/reviews/)

## 貢献者

 *   [ noplanman ](https://profiles.wordpress.org/noplanman/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-otp/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://noplanman.ch/donate)