|
1 | 1 | # MSC2140: Terms of Service API for Identity Servers and Integration Managers
|
2 | 2 |
|
| 3 | +*Note*: This MSC was added to in [MSC2264](https://github.com/matrix-org/matrix-doc/pull/2264) |
| 4 | + |
3 | 5 | [MSC1692](https://github.com/matrix-org/matrix-doc/issues/1692) introduces a
|
4 | 6 | method for homeservers to require that users read and agree to certain
|
5 | 7 | documents before being permitted to use the service. This proposal introduces a
|
@@ -170,7 +172,7 @@ This endpoint does *not* require authentication.
|
170 | 172 |
|
171 | 173 | #### `POST $prefix/terms`:
|
172 | 174 | Requests to this endpoint have a single key, `user_accepts` whose value is
|
173 |
| -a list of URLs (given by the `url` field in the GET response) of documents that |
| 175 | +a list of URLs (given by the `url` field in the GET response) of documents that |
174 | 176 | the user has agreed to:
|
175 | 177 |
|
176 | 178 | ```json
|
@@ -277,6 +279,16 @@ Clients may add IS bindings for 3PIDs that already exist on the user's
|
277 | 279 | Homeserver account by using the `POST /_matrix/client/r0/account/3pid`
|
278 | 280 | to re-add the 3PID.
|
279 | 281 |
|
| 282 | +### Unstable feature flag for transition |
| 283 | + |
| 284 | +In order to allow client implementations to determine if the homeserver they are developed |
| 285 | +against supports `id_access_token`, an unstable feature flag of `m.id_access_token` |
| 286 | +is to be added to `/versions`. When the flag is `false` or not present, clients must assume |
| 287 | +that the homeserver does not support being given `id_access_token` and may receive an error |
| 288 | +for doing so. Clients are expected to use the supported specification versions the homeserver |
| 289 | +advertises instead of the feature flag's presence once this proposal is included in a release |
| 290 | +of the specification. |
| 291 | + |
280 | 292 | ## Tradeoffs
|
281 | 293 |
|
282 | 294 | The Identity Service API previously did not require authentication, and OpenID
|
|
0 commit comments