Skip to content

Commit 5117c04

Browse files
committed
Update config docs about identity servers
This updates the discussion of identity servers in the config docs to match what was shipped in the privacy sprint. Fixes element-hq#10982
1 parent 7bfda36 commit 5117c04

1 file changed

Lines changed: 29 additions & 6 deletions

File tree

‎docs/config.md‎

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,10 @@ For a good example, see https://riot.im/develop/config.json.
1818
`default_is_url`, however these are deprecated. They are maintained for backwards
1919
compatibility with older configurations. `default_is_url` is respected only
2020
if `default_hs_url` is used.
21-
* The identity server is used for verifying third party identifiers like emails
22-
and phone numbers. It is not used to store your password or account information.
23-
If not provided, the identity server defaults to vector.im. Currently the only
24-
two public identity servers are https://matrix.org and https://vector.im, however
25-
in future identity servers will be decentralised. In the future it will be possible
26-
to disable the identity server functionality.
2721
* Riot will fail to load if a mix of `default_server_config`, `default_server_name`, or
2822
`default_hs_url` is specified. When multiple sources are specified, it is unclear
2923
which should take priority and therefore the application cannot continue.
24+
* As of Riot 1.4.0, identity servers are optional. See [Identity servers](#identity-servers) below.
3025
1. `features`: Lookup of optional features that may be `enable`d, `disable`d, or exposed to the user
3126
in the `labs` section of settings. The available optional experimental features vary from
3227
release to release. The available features are described in [labs.md](labs.md).
@@ -100,6 +95,34 @@ it, you can build Riot, but run
10095
Alternatively, you can edit the `og:image` meta tag in `index.html` directly
10196
each time you download a new version of Riot.
10297

98+
Identity servers
99+
================
100+
101+
The identity server is used for inviting other users to a room via third party
102+
identifiers like emails and phone numbers. It is not used to store your password
103+
or account information.
104+
105+
As of Riot 1.4.0, all identity server functions are optional and you are
106+
prompted to agree terms before data is sent to the identity server.
107+
108+
Riot will check multiple sources when looking for an identity server to use in
109+
the following order of preference:
110+
111+
1. The identity server set in the user's account data
112+
* For a new user, no value is present in their account data. It is only set
113+
if the user visits Settings and manually changes their identity server.
114+
2. The identity server provided by the `.well-known` lookup that occurred at
115+
login
116+
3. The identity server provided by the Riot config file
117+
118+
If none of these sources have an identity server set, then Riot will prompt the
119+
user to set an identity server first when attempting to use features that
120+
require one.
121+
122+
Currently the only two public identity servers are https://vector.im and
123+
https://matrix.org, however in the future identity servers will be
124+
decentralised.
125+
103126
Desktop app configuration
104127
=========================
105128

0 commit comments

Comments
 (0)