unee-t / frontend

Meteor front end
https://case.dev.unee-t.com/
GNU Affero General Public License v3.0
9 stars 17 forks source link

User unable to log in with a valid email and password #793

Closed franck-boullier closed 5 years ago

franck-boullier commented 5 years ago

The problem:

"After some time the username & password will not match and I'll have to password reset." Several users (at least 4 different users) have reported that problem.

image

Why is this critical:

People have confirmed that if we don't fix that issue they will drop Unee-T altogether as it's a major barrier ---> users are not able to work with Unee-T

franck-boullier commented 5 years ago

Root cause of the issue seems to be the mechanism introduced in our Apr 22nd release to automatically log in a user that: 1- receives an invitation 2- already has a password set 3- the user access Unee-T on a device that has never been logged in to Unee-T before.

When this happens the user's password is reset <--- this explains the issue reported by some users

Next step:

Short term fix:

Roll back the Notification magic link feature. This will:

Long term fix:

The need to have the simplest and easiest login experience is still very critical to maximize user adoption. we will explore 2 solutions to do that:

nbiton commented 5 years ago

I'm yet unable to reproduce this issue. We already had a safety mechanism in place to prevent a user with a self-defined password from losing their password. I tried the following steps for reproduction:

I could not find a scenario in which the usage of these features caused my user's password to be reset by mistake or lost.

nbiton commented 5 years ago

I tried to check if the EDIT_USER internal API can cause the problem:

franck-boullier commented 5 years ago

Have you tried the following scenario:

Option 1:

Option 2:

nbiton commented 5 years ago

I'll try that too

franck-boullier commented 5 years ago

So far we have not been able to reproduce the issue.

The only solution we have so far is to add more logs to try to capture these event better if/when they happen...

franck-boullier commented 5 years ago

@nbiton spoke to the user. User did not realize that he never created his password and was trying an incorrect password.

See issue #811 for a followup on this