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:
@@ -6,6 +6,7 @@ edition = "2021"
|
||||
[dependencies]
|
||||
chrono = { version = "0.4.40", default-features = false, features = ["std", "clock", "serde"] }
|
||||
html5ever = "0.27.0"
|
||||
jsonwebtoken = { version = "9.3.1", default-features = false }
|
||||
markup5ever_rcdom = "0.3.0"
|
||||
meilisearch-sdk = "0.28.0"
|
||||
rand = "0.9.0"
|
||||
|
||||
Reference in New Issue
Block a user