sqrldev / wordpress-sqrl-login

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

Unable to login: SQRL Login Page Expired #46

Open ohryan opened 4 years ago

ohryan commented 4 years ago

Describe the bug When I attempt to log in with SQRL I consistently receive an error. I have not been able to successfully login with SQRL.

To Reproduce Steps to reproduce the behavior:

  1. Open an new incognito window
  2. Navigate to /wp-login.php
  3. Click "Log in with username and password "
  4. Scan QR code with Android app.
  5. Android app returns the error "The SQRL login apge has expired. Please refresh the page, then log in with SQRL."
  6. Refresh the page.
  7. Scan QR code with Android app.
  8. Same error as step 5 above.

Expected behavior A successful login with SQRL.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

kalaspuffar commented 4 years ago

Hi @ohryan

An important detail here is: Have you associated the identity with an account?

Without the setting "Anyone can register" you will get this response for all none associated logins. If the user is associated with the profile page it should work without this setting.

If your account is associated you should see this on the bottom of your profile page.

profilepage

Hope this helps.

Best regards Daniel

ohryan commented 4 years ago

No, I have not associated an account with my user. Attempting to do so produces the same error.

kalaspuffar commented 4 years ago

Hi @ohryan

I was in the middle of a rewrite and updating the test suite, so I had a bit to fix. Have you seen this problem recently, or is this issue fixed for you?

Best regards Daniel