Skip to content

Better UI for self-served password change #2148

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

Closed
matrixbot opened this issue Sep 10, 2024 · 2 comments
Closed

Better UI for self-served password change #2148

matrixbot opened this issue Sep 10, 2024 · 2 comments
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-Product-Input Requires input from the product team

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @sandhose at matrix-org/matrix-authentication-service#2148.

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:

@matrixbot matrixbot added 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 labels Sep 10, 2024
@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @hughns at matrix-org/matrix-authentication-service#2148 (comment).

matrix-org/matrix-authentication-service#2197 is tracking creating the API needed for this.

@matrixbot
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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-Product-Input Requires input from the product team
Projects
None yet
Development

No branches or pull requests

1 participant