From e7e2e6069b3dd98fb3cf46f7c0cad18490dbf39c Mon Sep 17 00:00:00 2001 From: jerebear12 <72420925+jerebear12@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:11:09 -0600 Subject: [PATCH] Created Filer JWT Use (markdown) --- Filer-JWT-Use.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Filer-JWT-Use.md diff --git a/Filer-JWT-Use.md b/Filer-JWT-Use.md new file mode 100644 index 0000000..71ca200 --- /dev/null +++ b/Filer-JWT-Use.md @@ -0,0 +1,11 @@ +## How to get a valid JWT + +The Filer won't generate JWTs, you will have to configure another service to create a JWT with the same signing key set in the `security.toml` file described on the Security Configuration wiki page. When generating the JWT, ensure that the timeout in seconds matches the timeout set in the `security.toml` file. + +## How to send a JWT to the Filer + +The Filer supports receiving a JWT in three different forms: + +1. Through the `Authorization: Bearer ` header +2. Via the request's query parameters: http://localhost:8888/buckets/all?jwt=token +3. In an HTTP-only cookie named AT(Access Token)