Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve password/user name in authentication window #856

Open
diannakane opened this issue Mar 28, 2015 · 17 comments
Open

Retrieve password/user name in authentication window #856

diannakane opened this issue Mar 28, 2015 · 17 comments
Labels
Status: Blocked waiting for design Blocked waiting for design input Type: Feature Add something new

Comments

@diannakane
Copy link

Need a way for a user to retrieve a forgotten password or user name when logging in to Medic Mobile.

forgot password

@ghost
Copy link

ghost commented Mar 28, 2015

Random comments.

What you're seeing is a standard HTTP basic authentication prompt that's browser-initiated and can't be modified. I think we probably should fork this in to two issues: one for implementing a "forgot password" feature (initially on the "access denied" page), and one for switching away from the browser-provided HTTP basic authentication to a more traditional in-page user/password prompt.

The latter needs #822 to be resolved before we can start. The former probably needs considerable design work – e.g. How do we verify that the person resetting a user's password really is that user? If SMS is already up and running, we could potentially send a verification code to the user via SMS; if it's not yet (say, the admin installed and then promptly forgot the password), it's a bit more involved and might be better done from the Windows launcher.

@ghost ghost assigned abbyad Mar 28, 2015
@ghost
Copy link

ghost commented Mar 28, 2015

Assigning to @abbyad to indicate need for feature triage/scheduling.

@ghost ghost added 0 - Backlog Type: Feature Add something new labels Mar 28, 2015
@abbyad
Copy link
Contributor

abbyad commented Mar 30, 2015

I think part of the reason we are using Basic Authentication is because it simplified our automated data exports beause we can do authentication via URL.

@abbyad
Copy link
Contributor

abbyad commented Mar 30, 2015

We should split this up accordingly into issues for:

  • Password reset for general users of a running system
  • Password reset for admin users using DIY (and may not have SMS set up yet)
  • Nicer UX for login page (replace Basic Auth), or at least a better UX for failed authentication, rather than a page with {"error":"unauthorized","reason":"Authentication required."}

@abbyad abbyad added the Status: Blocked waiting for design Blocked waiting for design input label Mar 30, 2015
@ghost
Copy link

ghost commented Mar 30, 2015

That last one may overlap with #838, at least in the error pages case.

It's probably possible to keep basic authentication for some of the automated / computer-to-computer use cases – i.e. move the UI over to a session cookie based authentication system, but keep basic authentication support for clients like SMSsync. Worth looking in to.

@abbyad
Copy link
Contributor

abbyad commented Feb 5, 2016

Reassigning for further design work

@diannakane diannakane assigned katanu and unassigned diannakane Mar 3, 2016
@diannakane
Copy link
Author

-- We need user stories/scenarios (e.g. a user who is offline is logged out and needs to log back in, see the password that you're typing/mistakes, what feels reasonable in terms of password requirements, resetting passwords, security questions. Retrieve Username/password in authentication window (some technical limitations).

Marc has split this up into components in the comments above. Also related to issue #1471

-- Estelle is the dev person on this; Dave and Gareth have the most technical knowledge and can support.
-- Enock and Fred will likely have a lot of stories about how passwords and log-ins are being handled. Sharon can also provide input. In past deployments, all users have had the same password or even written it on the back of their phone.

@alxndrsn
Copy link
Contributor

alxndrsn commented Mar 1, 2017

For CHWs, likely methods of getting a new password would be:

a. visiting their local branch and getting IT support to issue a new token
b. triggering SMS including new token (via voice call, in which id is confirmed - allowing this to be done over SMS would effectively remove security)
c. issuing a new token in a voice call to branch/HQ

a sounds laborious; b would be suitable as long as the token was one-time (single-use); c would be difficult for the CHW as precisely entering a string of words or characters into a phone, while simultaneously on a call on that phone, would be fiddly

@SCdF
Copy link
Contributor

SCdF commented Mar 1, 2017

@alxndrsn I presume we could make it an android intent link, and that link would be clickable on phones that are able to run android apps?

@alxndrsn
Copy link
Contributor

alxndrsn commented Mar 3, 2017

@SCdF Sounds plausible! And obviously a standard internet link is not much use to app users 👍

@garethbowen garethbowen removed this from the Release DIY Beta 3 milestone Oct 31, 2018
@abbyad
Copy link
Contributor

abbyad commented Mar 18, 2019

Pinging @MaxDiz on this to help determine priority.

@abbyad abbyad assigned MaxDiz and unassigned katanu Mar 18, 2019
@amandacilek-zz
Copy link

Some additional information, questions, and UX suggestions on this topic can be found here: https://docs.google.com/document/d/1tgoRzN0DPMFupOy5VkjjH7qtoqACpGUJ-XMnPFhj210/edit#heading=h.wo98a2l6uybf

@MaxDiz
Copy link
Contributor

MaxDiz commented Apr 2, 2019

Some additional information, questions, and UX suggestions on this topic can be found here: https://docs.google.com/document/d/1tgoRzN0DPMFupOy5VkjjH7qtoqACpGUJ-XMnPFhj210/edit#heading=h.wo98a2l6uybf

this seems to be addressing a different security issue - lock screen

@MaxDiz
Copy link
Contributor

MaxDiz commented Apr 2, 2019

@garethbowen can we combine this ticket with #1557?

@garethbowen
Copy link
Member

They should be considered together but they'll have slightly different use cases and implementations. I think it's ok to keep them as two related issues that may or may not be solved at the same time.

@MaxDiz MaxDiz added this to Needs Triage in End Users Backlog via automation Oct 8, 2019
@n-orlowski n-orlowski moved this from Needs Triage to To do in End Users Backlog Apr 9, 2020
@n-orlowski
Copy link

Adding this for consideration related to remote onboarding for the covid response

@MaxDiz MaxDiz removed their assignment May 14, 2020
@MaxDiz MaxDiz removed the COVID-19 label Jan 21, 2021
@mrjones-plip
Copy link
Contributor

mrjones-plip commented May 23, 2023

The earlier comment which mentions tokens or SMS could be realized using Magic Links as was suggested in this recent forum post, but with a form submitted out of band while not being logged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Blocked waiting for design Blocked waiting for design input Type: Feature Add something new
Projects
No open projects
Development

No branches or pull requests

10 participants