17 Commits

Author SHA1 Message Date
e992f7a3ce use serde_json to build http response with JWT json body 2023-02-16 10:45:50 +00:00
bfd539731d use full http lib + remove all http crate dependency 2023-02-15 16:42:02 +00:00
78e06756e2 feat: #20 add email in JWT claims 2022-11-29 13:42:46 +00:00
900dcebcad fix(tests): check if the fetch pubkey validates the JWT 2022-11-21 10:13:20 +00:00
8d3651d6fc add http method validation on each route + add pubkey tests 2022-11-19 15:53:31 +00:00
b1cb4dec23 fix(tests): error message + tests server url 2022-11-19 14:16:44 +00:00
74e8d58b5c fix(tests): set URL default value if no one set 2022-10-14 15:29:44 +00:00
b73add00c5 feat: #13 impl the JWT validation + some fixes 2022-10-14 14:45:03 +00:00
7336933642 bug: #15 fix fragmented TCPStream + spawn a tokio task on each connection 2022-10-14 10:37:40 +00:00
6166310283 refactor GET handler + impl JWTSigner 2022-10-13 16:06:27 +00:00
72d1fba8f4 feat: #11 impl JWT + add associated tests 2022-10-10 17:22:36 +00:00
71e3db0857 feat: #12 add async block in handlers (more readable) + fix tests 2022-10-10 14:59:29 +00:00
384e868501 #8 return a 403 if credentials are invalid + adjust corresponding test 2022-10-03 15:09:44 +00:00
73059c724f feat: #8 parse store file content and add test 2022-09-29 16:27:45 +00:00
2c7418f333 feat: #2 impl an HTTPResponse + update tests 2022-09-20 09:07:23 +00:00
61479517b5 add requirements.txt for pytest 2022-09-19 14:14:49 +00:00
5321c06d24 improv: #5 add e2e tests 2022-09-19 14:10:03 +00:00