pepper -> lookup_pepper

hs/hash-identity
Andrew Morgan 5 years ago
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",
}
```
`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
`/(bulk_)lookup`, to handle identity servers which may rotate their pepper
values frequently.

Loading…
Cancel
Save