mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-24 00:56:39 +00:00
docs: Adjust the name of the cookie to the current "techaro.lol-anubis-auth" (#615)
* docs: Adjust the name of the cookie to the current "techaro.lol-anubis-auth"
Name definition:
https://github.com/TecharoHQ/anubis/blob/76fa3e01a5e60e65557f2a457ffc46666edadfbd/anubis.go#L12-L14
The name changed in 6c0ff3f4d5
Signed-off-by: Jan Pieter Waagmeester <jieter@jieter.nl>
* chore: spelling
Signed-off-by: Xe Iaso <me@xeiaso.net>
---------
Signed-off-by: Jan Pieter Waagmeester <jieter@jieter.nl>
Signed-off-by: Xe Iaso <me@xeiaso.net>
Co-authored-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
committed by
GitHub
parent
9f1d791991
commit
5f3861ab37
@@ -91,7 +91,7 @@ work valid?"}
|
|||||||
|
|
||||||
## Proof of passing challenges
|
## Proof of passing challenges
|
||||||
|
|
||||||
When a client passes a challenge, Anubis sets an HTTP cookie named `"within.website-x-cmd-anubis-auth"` containing a signed [JWT](https://jwt.io/) (JSON Web Token). This JWT contains the following claims:
|
When a client passes a challenge, Anubis sets an HTTP cookie named `"techaro.lol-anubis-auth"` containing a signed [JWT](https://jwt.io/) (JSON Web Token). This JWT contains the following claims:
|
||||||
|
|
||||||
- `challenge`: The challenge string derived from user request metadata
|
- `challenge`: The challenge string derived from user request metadata
|
||||||
- `nonce`: The nonce / iteration number used to generate the passing response
|
- `nonce`: The nonce / iteration number used to generate the passing response
|
||||||
|
|||||||
Reference in New Issue
Block a user