auth: Initial JWT implementation

We'll use a JWT in the `Authorization` request header to identify the
user saving a page.  The token will need to be set in the _authorization
token_ field in the SingleFile configuration so it will be included when
uploading.
This commit is contained in:
2025-04-05 07:24:18 -05:00
parent a1308507af
commit 720bb690ea
8 changed files with 268 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/target
/Rocket.toml
/jwt.secret
/meilisearch.token