説明
このプラグインは WordPress の標準のログインフォームを、次の機能を持つAuth0 のものに置き換えます。
- Universal authentication
- Over 30 social login providers
- Enterprise connections (ADFS, Active Directory / LDAP, SAML, Office 365, Google Apps and more)
- 独自のドメインに接続
- パスワードレス接続 (メールまたは SMS を使用)
- Ultra secure
- Multifactor authentication
- パスワードポリシー
- メール検証
- 総当たり攻撃の低減
テクニカルノート
重要: このプラグインを使うことにより、サイトの認証とプロファイルのハンドリングを Auth0 に委譲することになります。つまり、ユーザの認証にWordPress のデータベースをを使うことがなくなり、デフォルトのログインフォームがリプレースされます。
Auth0 認証とユーザの管理の詳細な情報は How It Works page ページを確認してください。
既存ユーザーの移行
Auth0 allows multiple authentication providers. You can have social providers like Facebook, Twitter, Google+, and more, a database of users and passwords (just like WordPress but hosted in Auth0), or you can use an Enterprise directory like Active Directory, LDAP, Office365, Google Apps, or SAML. All those authentication providers might give you an email and a flag indicating whether the email was verified or not. We use that email (only if it is verified) to associate a previous existing user with the one coming from Auth0.
メールアドレスが確認されない場合や同じメールアドレスが WordPress に存在する場合、ユーザにはメールアドレスが確認されない旨と「確認メールを再送する」リンクが表示されます。どちらのシナリオでも、ユーザが確認済みのメールアドレスを持っていることを必須とするかどうかをプラグインの設定で選択できます。
Please note: In order for a user to log in using Auth0, they will need to sign up via the Auth0 login form (or have an account created for them in Auth0). Once signup is complete, their Auth0 user will be automatically associated with their WordPress user.
ウィジェット
You can enable Auth0 as a WordPress widget in order to show it in a sidebar. The widget inherits the main plugin settings but can be overridden with its own settings in the widget form. Note: this form will not display for logged-in users.
ショートコード
さらに、Auth0 ウィジェットをショートコードとしてエディタで使用できます。次の内容をグローバル設定に追加してください:
[auth0]
Like widgets, shortcode login forms will use the settings of the plugin. It can be customized by adding the following attributes:
icon_url
– ログインフォームの上部に使われる画像の URL ですform_title
– Text to appear at the top of the login formgravatar
– ユーザの Gravatar を表示する設定です。1
を設定すると表示しますredirect_to
– ログイン成功後にリダイレクトする先の URL ですdict
– Valid JSON to override form text (see options here)extra_conf
– 正しい JSON ファイルで Lock Configuration を上書きします。(オプションはこのページをご覧ください)show_as_modal
– Display a button that triggers the login form in a modal; set to1
for yesmodal_trigger_name
– モーダルを使用する際にボタンに表示させるテキストです
例:
[auth0 show_as_modal="1" modal_trigger_name="Login button: This text is configurable!"]
Note: this form will not display for logged-in users.
FAQ
-
Auth0 ログインフォームのカスタマイズはできますか?
-
Auth0 ログインフォームはロックと呼ばれており、GitHub でオープンソースとして公開されています。 You can style the form like any of your site components by enqueuing a stylesheet in your theme. Use the
login_enqueue_scripts
hook to style the form on wp-login.php,wp_enqueue_scripts
to style widgets and shortcodes, or both to affect the form in all locations. -
ユーザープロファイル情報にアクセスはできますか?
-
Auth0 プラグインは WordPress サイトや使用するプラグインに対してログイン情報を分かりやすく扱うため、他の方法でログインをする場合と変わることがありません。WordPress 上でユーザプロファイルデータが変更があっても現在は Auth0 に送信されません。しかし、Auth0ユーザアカウントの変更点はWordPress ユーザメタ情報に保存されます (
auth0_obj
キー内に$wpdb->prefix
プレフィックス付きで保存されます)。 -
When I install this plugin, will existing users still be able to log in?
-
Yes, either by allowing the WordPress login form to be displayed or through migrating existing users. See the テクニカルノート section above.
-
どのような認証プロバイダをサポートしていますか?
-
How can I use Lock configuration options that are not provided on the settings page?
-
プラグイン設定のアドバンストタブにある「追加設定」フィールドを使って JSON オブジェクトをすべての追加設定と共に設定します。何が設定可能かについてはドキュメントを参照してください。
-
WooCommerce と互換性はありますか?
-
はい。このプラグインは WooCommerce のデフォルトのログインフォームを Auth0 ログインフォームで書き換えます。
-
聞きたいことがここに載っていません。どうすればいいでしょうか?
-
まだ他に方法はあります!
- 初めてプラグインを設定している場合、またはユーザのログインに問題がある場合は、トラブルシューティング と 設定のドキュメントを確認してください。
- プラグインのコードにバグを見つけたら、GitHub でイシューを作成するか プルリクエストを作成してください。
- Auth0 の使い方について質問がある場合は、コミュニティサイトで相談をするかサポートフォーラムでリクエストをしてください。
- 更なるドキュメントや答えは サポートサイトにて確認してください。迅速な対応が必要な場合、Auth0 の有料プランをご利用の方はトラブルチケットを切ってお問い合わせいただけます。