Commit Graph

31 Commits

Author SHA1 Message Date
Valentin Tolmer
8b73de0df7 Update opaque and implement it without DB 2021-06-23 20:46:55 +02:00
Valentin Tolmer
2f7019433d Fix clippy warnings 2021-06-23 10:57:34 +02:00
Valentin Tolmer
4d68a2a015 Add TCP handlers for opaque protocol 2021-06-23 10:27:59 +02:00
Valentin Tolmer
7be0e420d4 Add a handler for OPAQUE messages 2021-06-23 10:27:59 +02:00
Valentin Tolmer
3c916a2530 Implement password checking using opaque 2021-06-23 10:27:59 +02:00
Valentin Tolmer
ca48de542b Add a API endpoint to create a user 2021-05-30 18:26:14 +02:00
Valentin Tolmer
10404abbb0 Implement server-side logout 2021-05-23 16:20:26 +02:00
Valentin Tolmer
28a941924e Split big files into little ones 2021-05-20 19:18:15 +02:00
Valentin Tolmer
9f1feb3b11 Change auth handlers to return an HttpResponse 2021-05-20 17:46:36 +02:00
Valentin Tolmer
6cb06b0e9f Change the authentication address to /auth 2021-05-20 17:41:30 +02:00
Valentin Tolmer
d5cb53ae8a Implement refresh tokens 2021-05-20 17:40:30 +02:00
Valentin Tolmer
312d9b7a6f Mark cookies as sameSite=Strict 2021-05-19 18:08:26 +02:00
Valentin Tolmer
e90ef2737c Add tests for tcp handlers 2021-05-14 10:30:58 +02:00
Valentin Tolmer
f19a4b36de Default the web server to returning index.html 2021-05-14 10:30:58 +02:00
Valentin Tolmer
e524fb0f55 clippy: fix warnings 2021-05-14 10:30:55 +02:00
Valentin Tolmer
e431c40475 Remove user_id cookie
We can't read it from JS anyway
2021-05-14 09:24:14 +02:00
Valentin Tolmer
a15d970725 Move the JWTClaims to the model 2021-05-13 19:32:29 +02:00
Valentin Tolmer
7e76d3aae2 Implement server-side JWT generation and checks 2021-05-12 20:53:46 +02:00
Valentin Tolmer
e1047124fa Fine-tune passing errors from the server to the client 2021-05-10 10:21:24 +02:00
Valentin Tolmer
c33948ccc2 style 2021-05-09 13:29:12 +02:00
Valentin Tolmer
2416eede6f Add error message when receiving a faulty request 2021-05-09 13:26:28 +02:00
Valentin Tolmer
8dd55195f5 Add a handler for the /api/users endpoint 2021-05-09 12:06:58 +02:00
Valentin Tolmer
4ae94839f2 Setup a basic API route 2021-05-09 11:52:53 +02:00
Valentin Tolmer
4091d21277 Setup the routes for the static files 2021-05-09 11:06:23 +02:00
Valentin Tolmer
f8f642183e Replace the echo server with an HTTP server 2021-05-08 15:52:08 +02:00
Valentin Tolmer
31e8998ac3 Add attribute list handling
Also, fix various clippy warnings
2021-03-22 09:59:58 +01:00
Valentin Tolmer
ff4e986a0d Introduce BackendHandler trait and impl 2021-03-11 10:19:36 +01:00
Valentin Tolmer
1a947358fa Simplify DB handling with sqlx::Any 2021-03-10 12:06:32 +01:00
Valentin Tolmer
dc6e8c8808 Implement SQL connection 2021-03-08 10:51:37 +01:00
Valentin Tolmer
c63c7105aa Fix the pipeline_factory
We can now bring up the two servers
2021-03-07 12:36:12 +01:00
Thomas Wickham
bbecb47c59 add tcp server 2021-03-02 23:07:01 +01:00