fleetdm / fleet

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)
https://fleetdm.com
Other
3.16k stars 432 forks source link

Unable to login to fleet+UpdatePassword@qawolf.email / reset password #23978

Open qa-wolf[bot] opened 5 days ago

qa-wolf[bot] commented 5 days ago

Steps to reproduce:

  1. Attempt to log in to fleet+UpdatePassword@qawolf.email (https://mailto:fleet+UpdatePassword@qawolf.email) with either PASSWORD_FOR_CHANGE_PW_TEST or DEFAULT_PASSWORD
  2. Attempt to go through "Forgot password?" flow with the email Expected: The user is able to log in with either password (this account/workflow only used one of those two mentioned passwords). Using this email would produce a reset password email as well when using the "Forgot password?" flow. Actual: Neither passwords work and no email is received when attempting to reset password.

Video: https://www.loom.com/share/bbdd1aa6582f4a9b9c2f320fd3ae2256?sid=e8ea707a-83b3-4623-9288-0f28a4fa560d (https://www.loom.com/share/bbdd1aa6582f4a9b9c2f320fd3ae2256?sid=e8ea707a-83b3-4623-9288-0f28a4fa560d)

sharon-fdm commented 3 days ago

From @xpkoala: Currently not reproduced.

lukeheath commented 3 days ago

@sharon-fdm - @jmwatts and I just reproduced this on QA Wolf's environment. The reset password flow doesn't appear to be working. It let me reset it, but when I logged out and back in the new password or the old password didn't work. This appears to be unreleased, so it's a release blocker.

lucasmrod commented 3 days ago

I cannot reproduce on main (fa1065d0f9300a582d194ef84d89a0e4331d3cbc). I was also not able to reproduce on QA Wolf's premium environment.

@xpkoala Could you try in case I'm missing something?

xpkoala commented 3 days ago

I was not able to reproduce this issue either. I was able to successfully change the password and login after taking a user through the password reset and manual reset password flows.

I'm currently on rc-minor-fleet-v4.60.0

xpkoala commented 3 days ago

I've just run through both flows on the QAWolf premium instance and successfully change my user's password and logged into the app.

cc @lukeheath could you try this again and maybe record your flow so we can investigate further? * scratch that I'll get with @jmwatts to investigate.