Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Better UI for self-served password change #2148

Closed
sandhose opened this issue Nov 24, 2023 · 2 comments · Fixed by #2863
Closed

Better UI for self-served password change #2148

sandhose opened this issue Nov 24, 2023 · 2 comments · Fixed by #2863
Assignees
Labels
A-Account-Management Related to self-service account management A-Frontend Changes on the React frontend A-Local-Password Related to the local password database Z-OIDC Z-Product-Input Requires input from the product team

Comments

@sandhose
Copy link
Member

sandhose commented Nov 24, 2023

When an account is baked by a password credential, the end user should be able to change their password themselves. This assumes the user have not lost their password, which is different from the password recovery flow covered in #13

The flow would look like this:

  • the user go to their MAS user management screen
  • they get asked for their old password, their new password and a confirmation of the new password
  • their other sessions get (optionally?) all revoked
  • (optionally) they get an email to warn them their password change

Subtasks:

Open questions:

  • What knobs should we expose to server admins?
    • Allow password change overall
    • Notify of password changes by email
    • Whether other sessions should be signed out
  • Is the password change email notification useful? If so, we need to set the wording/design
  • Should we actually revoke sessions? Maybe a middle ground would be to revoke browsers sessions, so sessions in the MAS UI, but not client sessions? That would prevent potential attackers to change sensitive stuff on the account, e.g. the list of emails, delete the account, etc.

Relevant design screens:

@sandhose sandhose added A-Frontend Changes on the React frontend A-Account-Management Related to self-service account management A-Local-Password Related to the local password database labels Nov 24, 2023
@hughns
Copy link
Member

hughns commented Dec 8, 2023

#2197 is tracking creating the API needed for this.

@sandhose sandhose added the Z-Product-Input Requires input from the product team label May 7, 2024
@americanrefugee
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Account-Management Related to self-service account management A-Frontend Changes on the React frontend A-Local-Password Related to the local password database Z-OIDC Z-Product-Input Requires input from the product team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants