mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-21 19:04:10 +01:00
pepper -> lookup_pepper
This commit is contained in:
parent
1fea604ba9
commit
e3b2ad38b5
|
|
@ -68,11 +68,14 @@ This endpoint takes no parameters, and simply returns the current pepper as a JS
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"pepper": "matrixrocks",
|
"lookup_pepper": "matrixrocks",
|
||||||
"algorithm": "sha256",
|
"algorithm": "sha256",
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
`lookup_pepper` was chosen in order to account for pepper values being returned
|
||||||
|
for other endpoints in the future.
|
||||||
|
|
||||||
Clients should request this endpoint every time before making a
|
Clients should request this endpoint every time before making a
|
||||||
`/(bulk_)lookup`, to handle identity servers which may rotate their pepper
|
`/(bulk_)lookup`, to handle identity servers which may rotate their pepper
|
||||||
values frequently.
|
values frequently.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue