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

Add an additional parameter to the modify password API per MSC2457. #2523

Merged
merged 3 commits into from
May 4, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions api/client-server/registration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,7 @@ paths:

The homeserver may change the flows available depending on whether a
valid access token is provided. The homeserver SHOULD NOT revoke the
access token provided in the request, however all other access tokens
for the user should be revoked if the request succeeds.
access token provided in the request.
clokep marked this conversation as resolved.
Show resolved Hide resolved
security:
- accessToken: []
operationId: changePassword
Expand All @@ -343,6 +342,11 @@ paths:
type: string
description: The new password for the account.
example: "ihatebananas"
logout_devices:
type: boolean
description: |-
Whether other access tokens should be revoked if the request succeeds. Defaults to true.
clokep marked this conversation as resolved.
Show resolved Hide resolved
example: true
auth:
description: |-
Additional authentication information for the user-interactive authentication API.
Expand Down
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/2523.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Optionally invalidate other access tokens during password modification per `MSC 2457 <https://github.com/matrix-org/matrix-doc/pull/2457>`_.
clokep marked this conversation as resolved.
Show resolved Hide resolved