sqrldev / wordpress-sqrl-login

SQRL Login WordPress plugin
MIT License
21 stars 7 forks source link

Move login with SQRL to the main login window outside of "Log in with username and password" #23

Closed aitorpazos closed 5 years ago

aitorpazos commented 5 years ago

As a user wanting to use Sqrl on a site to authenticate, it is confusing having to select the "Log in with username and password" to get the Sqrl QR code and button presented to me.

I'd rather want to get it presented on the main login page instead: image

I think this would improve the experience of using Sqrl by reducing the number of clicks and it would de-couple Sqrl from username/password mechanism.

aitorpazos commented 5 years ago

Playing a bit more with a local installation I noticed that that first login screen (shown in the screenshot) is only presented to users when Jetpack plug-in is used and the "Allow users to log into this site using WordPress.com accounts" option enabled. Thus, I think this is more a Jetpack issue than and issue of this project. Reported at https://github.com/Automattic/jetpack/issues/13033

jeherve commented 4 years ago

I replied in the Jetpack issue, but I think that is something that could be tweaked in this plugin to improve compatibility with the Jetpack plugin. To default to the regular login form with the SQRL options, you can add the following filter to the plugin:

add_filter( 'jetpack_sso_default_to_sso_login', '__return_false' );