feat: add short-lived JWT auth and secure endpoints

This commit is contained in:
thePR0M3TH3AN committed 2025-08-02 21:48:52 -04:00
1 parent 8c9fe07609
commit 186e39cc91
6 files changed
+104 -16

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ def client(monkeypatch):
nostr_client=SimpleNamespace(
key_manager=SimpleNamespace(get_npub=lambda: "np")
),
verify_password=lambda pw: True,
)
monkeypatch.setattr(api, "PasswordManager", lambda: dummy)
monkeypatch.setenv("SEEDPASS_CORS_ORIGINS", "http://example.com")