mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-05 02:34:14 +02:00
Give the user control!
This commit is contained in:
parent
acdb2b1b42
commit
02ac0f3b33
|
|
@ -58,7 +58,7 @@ The name `lookup_pepper` was chosen in order to account for pepper values being
|
||||||
returned for other endpoints in the future.
|
returned for other endpoints in the future.
|
||||||
|
|
||||||
Clients should request this endpoint each time before making a `/lookup` or
|
Clients should request this endpoint each time before making a `/lookup` or
|
||||||
`/(bulk_)lookup` request, to handle identity servers which may rotate their
|
`/bulk_lookup` request, to handle identity servers which may rotate their
|
||||||
pepper values frequently.
|
pepper values frequently.
|
||||||
|
|
||||||
An example of generating a hash using the above hash and pepper is as follows:
|
An example of generating a hash using the above hash and pepper is as follows:
|
||||||
|
|
@ -125,8 +125,9 @@ implementation, and should return a HTTP 404 if so.
|
||||||
|
|
||||||
If an identity server is too old and a HTTP 404, 405 or 501 is received when
|
If an identity server is too old and a HTTP 404, 405 or 501 is received when
|
||||||
accessing the `v2` endpoint, they should fallback to the `v1` endpoint instead.
|
accessing the `v2` endpoint, they should fallback to the `v1` endpoint instead.
|
||||||
However, clients should be aware that plain-text 3pids are required, and should
|
However, clients should be aware that plain-text 3pids are required, and MUST
|
||||||
ask for user consent accordingly.
|
ask for user consent to send 3pids in plain-text, and be clear about where they
|
||||||
|
are being sent to.
|
||||||
|
|
||||||
## Tradeoffs
|
## Tradeoffs
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue