Skip to content

Commit

Permalink
MSC2918: add precision about token revocation
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Jun 3, 2021
1 parent 6530ecc commit b320001
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion proposals/2918-refreshtokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ Unless `inhibit_login` is `true`, the account registration API returns two addit

This API lets the client refresh the access token.
A new refresh token is also issued, and the existing one is revoked.
The Matrix server doesn't have to make the old access token invalid, since its lifetime is short enough.
Since this request can get lost in flight, the server should delay this revocation to when the client uses the new access token or the new refresh token for the first time.
The Matrix server can but does not have to make the old access token invalid, since its lifetime is short enough.

`POST /_matrix/client/r0/refresh`

Expand Down

0 comments on commit b320001

Please sign in to comment.