![Login by Auth0](https://ps.w.org/auth0/assets/icon-128x128.png?rev=3020657)
Login by Auth0
Hospedagem WordPress com plugin Login by Auth0
Onde devo hospedar o plugin Login by Auth0?
Este plugin pode ser hospedado em qualquer provedor que possua WordPress instalado. Recomendamos utilizar uma hospedagem de confiança, com servidores otimizados para WordPress, como o serviço de hospedagem WordPress da MCO2.
Hospedando o plugin Login by Auth0 em uma empresa de hospedagem de confiança
A MCO2, além de configurar e instalar o WordPress na versão mais nova para seus clientes, oferece o WP SafePress, um mecanismo singular que salvaguarda e aumenta a performance do seu site simultaneamente.
Por que a Hospedagem WordPress funciona melhor na MCO2?
A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens e fotos, proteção da página de login, bloqueio de atividades maliciosas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São plugins que potencializam seu WordPress para a máxima segurança e o máximo desempenho.
This plugin replaces standard WordPress login forms with one powered by Auth0 that enables:
- Universal authentication
- Over 30 social login providers
- Enterprise connections (ADFS, Active Directory / LDAP, SAML, Office 365, Google Apps and more)
- Connect your own database
- Passwordless connections (using email or SMS)
- Ultra secure
- Multifactor authentication
- Password policies
- E-mail de validação
- Mitigate brute force attacks
Technical Notes
IMPORTANT: By using this plugin you are delegating the site authentication and profile handling to Auth0. That means that you won’t be using the WordPress database to authenticate users and the default WordPress login forms will be replaced.
Please see our How It Works page for more information on how Auth0 authenticates and manages your users.
Migrating Existing Users
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.
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 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 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.
Widget
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.
Shortcode
Also, you can use the Auth0 widget as a shortcode in your editor. Just add the following to use the global settings:
[auth0]
Like widgets, shortcode login forms will use the settings of the plugin. It can be customized by adding the following attributes:
icon_url
– A direct URL to an image used at the top of the login formform_title
– Text to appear at the top of the login formgravatar
– Display the user’s Gravatar; set to1
for yesredirect_to
– A direct URL to use after successful logindict
– Valid JSON to override form text (see options here)extra_conf
– Valid JSON to override Lock configuration (see options here)show_as_modal
– Display a button that triggers the login form in a modal; set to1
for yesmodal_trigger_name
– Button text to display when using a modal
Exemplo
[auth0 show_as_modal="1" modal_trigger_name="Login button: This text is configurable!"]
Note: this form will not display for logged-in users.