[wordpress插件] Login by Auth0通过Auth0登录

wordpress 插件 文章 2020-02-23 08:50 612 0 全屏看文

AI助手支持GPT4.0

评分
70
描述

This plugin replaces standard WordPress login forms with one powered by Auth0 that enables:

此插件用由 Auth0 支持的一种形式替换标准的WordPress登录表单,从而启用:

    • Universal authentication

    • 通用身份验证

        • Over 30 social login providers
        • 超过30个社交登录提供商

        • Enterprise connections (ADFS, Active directory / LDAP, SAML, Office 365, Google Apps and more)
        • 企业连接(ADFS,活动目录/ LDAP,SAML,Office 365,Google Apps等)

        • Connect your own database
        • 连接您自己的数据库

        • Passwordless connections (using email or SMS)
        • 无密码连接(使用电子邮件或SMS)

      • Ultra secure

      • 超安全

          • Multifactor authentication
          • 多因素身份验证

          • Password policies
          • 密码政策

          • Email validation
          • 电子邮件验证

          • Mitigate brute force attacks
          • 缓解暴力攻击

        Technical Notes

        技术说明

        IMPORTANT: By using this plugin you are delegating the site authentication and profile handling to Auth0.

        重要:通过使用此插件,您将站点身份验证和配置文件处理委托给Auth0。

        That means that you won’t be using the WordPress database to authenticate users and the default WordPress login forms will be replaced.

        这意味着您将不会使用WordPress数据库来验证用户身份,并且将替换默认的WordPress登录表单。

        Please see our How It Works page for more information

        请参阅我们的工作原理页面以了解更多信息

        on how Auth0 authenticates and manages your users.

        Auth0如何验证和管理您的用户。

        Migrating Existing Users

        迁移现有用户

        Auth0 allows multiple authentication providers.

        Auth0允许多个身份验证提供程序。

        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

        您可以拥有Facebook,Twitter,Google +等社交服务提供商,用户和密码数据库(就像WordPress,但托管在Auth0中),也可以使用企业目录(如Active Directory,LDAP,Office365,Google Apps或

        SAML.

        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 its verified) to associate a previous existing user with the one coming from Auth0.

        我们使用该电子邮件(仅在经过验证的情况下)才能将以前的现有用户与来自Auth0的用户相关联。

        If the email was not verified and there is an account with that email in WordPress, the user will be presented with a page saying that the email was not verified and a link to “Re-send the verification email.”

        如果电子邮件未经验证,并且在WordPress中有使用该电子邮件的帐户,则会向用户显示一个页面,指出该电子邮件未经验证,并带有“重新发送验证电子邮件”的链接。

        For either scenario, you can choose whether it is mandatory that the user has a verified email or not in the plugin settings.

        对于这两种情况,您都可以在插件设置中选择是否强制要求用户拥有经过验证的电子邮件。

        Please note: In order for a user to login using Auth0, they will need to sign up via the Auth0 login form (or have an account created for them in Auth0).

        请注意::要使用户使用Auth0登录,他们将需要通过Auth0登录表单进行注册(或在Auth0中为其创建帐户)。

        Once signup is complete, their Auth0 user will be automatically associated with their WordPress user.

        注册完成后,其Auth0用户将自动与其WordPress用户相关联。

        Widget

        小部件

        You can enable the Auth0 as a WordPress widget in order to show it in a sidebar.

        您可以将Auth0启用为WordPress小部件,以便在边栏中显示它。

        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.

        注意:此表格不会显示给已登录的用户。

        Shortcode

        简码

        Also, you can use the Auth0 widget as a shortcode in your editor.

        此外,您可以在编辑器中将Auth0小部件用作简码。

        Just add the following to use the global settings:

        只需添加以下内容即可使用全局设置:

        [auth0]

          [auth0]

        Like widgets, shortcode login forms will use the main plugins settings.

        像小部件一样,简码登录表单将使用主要插件设置。

        It can be customized by adding the following attributes:

        可以通过添加以下属性来自定义它:

          • icon_url – A direct URL to an image used at the top of the login form
          • icon_url –登录表单顶部使用的图像的直接URL

          • form_title – Text to appear at top of the login form
          • form_title –显示在登录表单顶部的文本

          • gravatar – Display the user’s Gravatar;

          • gravatar –显示用户的Gravatar;

            set to 1 for yes

          • 设置为 1

          • redirect_to – A direct URL to use after successful login
          • redirect_to –成功登录后要使用的直接URL

          • custom_css – Valid CSS to alter the login form
          • custom_css –更改登录表单的有效CSS

          • custom_js – Valid JS to alter the login form
          • custom_js –有效的JS来更改登录表单

          • dict – Valid JSON to override form text (

          • dict –有效的JSON以覆盖表单文本(

            "nofollow">see options here)

          • “ nofollow”>在此处查看选项)

          • extra_conf – Valid JSON to override Lock configuration (see options

          • extra_conf –有效的JSON覆盖锁定配置(查看选项

            here)

          • 这里)

          • show_as_modal – Display a button which triggers the login form in a modal;

          • show_as_modal –显示一个以模态形式触发登录表单的按钮;

            set to 1 for yes

          • 设置为 1

          • modal_trigger_name – Button text to display when using a modal
          • modal_trigger_name –使用模式时要显示的按钮文本

          Example:

          示例:

          [auth0 show_as_modal="1" modal_trigger_name="Login button: This text is configurable!"]

            [auth0 show_as_modal =“ 1” modal_trigger_name =“登录按钮:此文本是可配置的!”]

          Note: this form will not display for logged-in users.

          注意:已登录用户将不会显示此表单。

安装步骤

This plugin requires a free or paid Auth0 account.

此插件需要一个免费或付费 Auth0帐户。

    1. Sign up here.
    2. 在此处注册

    3. Follow the installation instructions here.
    4. 按照此处的安装说明进行操作。

下载地址
https://downloads.wordpress.org/plugin/auth0.zip
-EOF-

AI助手支持GPT4.0