We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b320001 commit d433e3bCopy full SHA for d433e3b
proposals/2918-refreshtokens.md
@@ -51,6 +51,14 @@ response:
51
}
52
```
53
54
+The `refresh_token` parameter can be invalid for two reasons:
55
+
56
+ - if it does not exist
57
+ - if it was already used once
58
59
+In both cases, the server must reply with a `401` HTTP status code and an `M_UNKNOWN_TOKEN` error code.
60
+This new use case of the `M_UNKNOWN_TOKEN` error code must be reflected in the spec.
61
62
### Device handling
63
64
The current spec states that "Matrix servers should record which device each access token is assigned to".
0 commit comments