Categories

  • Access & Security 95
  • Administration 172
  • Advertisement 92
  • Audio & Video 66
  • Author & Content 99
  • Comments 96
  • Communication 110
  • Communities & Forums 84
  • Development 47
  • E-Commerce 76
  • Email Management 53
  • Events & Calendars 80
  • Language 25
  • Map & Weather 44
  • Migration & Conversion 28
  • Miscellaneous 254
  • Mobile 15
  • Photos 143
  • Plugins 260
  • SEO & Site Speed 118
  • Social 186
  • Theme Enhancement 169



  • Add this plugin to a List

    You need to be logged in to add this plugin to your list.

    Auth0 – Single Sign On with Social, Enterprise and User/Passwords

    Add to List

    This plugin gives WordPress a new Login Widget (powered by Auth0) that enables:

    • Easy setup
      • 5 minutes installation
      • Extensible custom rules
    • Universal authentication
      • +30 Social Providers
      • Enterprise conections (ADFS, Active directory / LDAP, SAML, Office 365, Google Apps and more)
      • Connect your own database
      • Passwordless connections (using SMS, Magic links and Email codes)
    • Ultra secure
      • Multifactor authentication
      • Password policies
      • Email validation
      • Mitigate brute force attacks
    • Easy access to your users data
      • User stats
      • Profile data
      • Login history and locations

    Technical Notes

    IMPORTANT: By using this plugin you are delegating the site authentication to Auth0. That means that you won’t be using the WordPress database to authenticate users anymore and the default WP login box won’t show anymore. However, we can still associate your existing users by merging them by email. This section explains how.

    When you install this plugin you have at least one existing user in the database (the admin user). If the site is already being used, you probably have more than just the admin. We want you to keep those users, of course.

    Migrating Existing Users

    Auth0 allows multiple authentication providers. You can have social providers like Facebook, Twitter, Google+, etc., you can have a database of users/passwords (just like WordPress but hosted in Auth0) or you can use an Enterprise directory like Active Directory, LDAP, Office365, SAML and others. 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.

    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”.

    For both scenarios you may configure in the WP admin whether is mandatory that the user has a verified email or not.

    Accesing Profile Information

    WordPress defines a function called wp_get_current_user to populate the global variable current_user with the logged in WP_User. Similary we define get_currentauth0userinfo that populates current_user and currentauth0_user with the information of the Normalized profile

    Enabling dual (Auth0 and WordPress) login

    You can enable the standard WordPress login by turning on the “WordPress login enabled” setting (enabled by default). This will make visible a link on the login page to swap between both.

    Using the plugin widget

    You can enable the Auth0 as a WordPress widget in order to show it in the sidebar. The widget inherits the plugin settings and it can be overrided with its own settings.

    Also, a new layout setting is enabled in order to be shown as a modal. Enabling the “Show as modal” setting, a button which trigger the modal is generated.

    Using the login widget as a shortcode

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

    The way to use it is just adding the following:

    [auth0]
    

    And can be customized by adding the following parameters:

    • form_title: string
    • dict: string, should be a the language or a valid json with the translation (see https://github.com/auth0/lock/wiki/Auth0Lock-customization#dict-stringobject)
    • social_big_buttons: boolean
    • gravatar: boolean
    • username_style: string, “email” or “username”
    • remember_last_login: boolean
    • icon_url: string (valid url)
    • extra_conf: string, valid json
    • show_as_modal: boolean
    • modal_trigger_name: string, button text

    Example:

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

    All the details about the parameters on the lock wiki (https://github.com/auth0/lock/wiki/Auth0Lock-customization)

    Rate This Plugin

    Please Login to Rate this Plugin!

    Function

    Feature

    Support

    0 Votes
    Not Rated Yet

    Wordpress.org Stats

    Ratings3.9
    Votes7
    Downloads33,651
    Last Updated26 Days ago
    Published3 years ago

    Report Wrong Category!