1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-06 05:42:30 +03:00
Commit Graph

1305 Commits

Author SHA1 Message Date
95677fea03 remove old sessions migrations 2021-07-31 14:51:30 +02:00
f079229abd better CSRF form handling 2021-07-31 14:47:54 +02:00
9b6eae17ea better logging and http handling 2021-07-30 23:07:29 +02:00
dcc4cee6b4 better enforcement of auth and csrf protection 2021-07-30 18:02:05 +02:00
40aa7fcd01 fix clippy errors 2021-07-30 15:36:01 +02:00
0eddd715c8 move the CSRF save filter to crate::filters::csrf 2021-07-30 15:31:34 +02:00
490f97abb7 update dependencies 2021-07-30 15:21:11 +02:00
0499d1a47f migrate to warp, last part 2021-07-30 15:19:30 +02:00
d36069e0fe WIP: migrate to warp, part 3 2021-07-29 16:58:26 +02:00
dc049e96a8 WIP: migrate to warp, part 2 2021-07-29 14:56:33 +02:00
df68f0e2c0 WIP: migrate to warp 2021-07-27 19:20:24 +02:00
69797c711e reimplement CSRF logic 2021-07-27 14:25:15 +02:00
865d5851db oauth2-types: PKCE-related types 2021-07-25 20:11:09 +02:00
b149760455 properly save session with multiple auth
This will help knowing when the user last authed, support MFA & other
login types, support acr_values & max_time, etc.
2021-07-25 14:42:48 +02:00
e907b99db7 rework OIDC metadata endpoint 2021-07-22 16:01:55 +02:00
1b3784840c replace custom serde types with serde_with in oauth2-types 2021-07-22 14:38:14 +02:00
f8184f4026 enable std feature in password-hash to avoid manually building errors 2021-07-17 11:21:58 +02:00
d9806e35b1 store users in database 2021-07-17 00:49:25 +02:00
0abb8b9505 fix CI by removing the --offline flag from rustfmt 2021-07-16 23:22:17 +02:00
36333ae0ab fix dependencies fetching in CI 2021-07-16 23:19:03 +02:00
219b2eea06 cache Cargo dependencies per OS in CI 2021-07-16 23:16:21 +02:00
e8f8c1e7f0 run Cargo in offline mode in CI 2021-07-16 23:04:13 +02:00
444d356000 Retry downloading dependencies twice in CI 2021-07-16 22:55:26 +02:00
3664190ae4 better caching and dependencies fetching in CI 2021-07-16 22:52:00 +02:00
e472dd3692 add a subcommand to generate a config file 2021-07-16 18:55:33 +02:00
4208fa725f make client storage read-only 2021-07-16 18:04:43 +02:00
44718c64a8 fix some license headers 2021-07-16 18:04:04 +02:00
563255e103 reorganize dependencies and upgrade them 2021-07-16 17:47:44 +02:00
758fcd4f4b partial config load & tests 2021-07-16 17:33:16 +02:00
a3b9e3861a split CLI in multiple commands
- `config` to view & check config files
 - `database` for DB-related ops
 - `server` to run the server
2021-07-16 14:34:18 +02:00
99142c3536 initial config schema 2021-07-16 11:19:03 +02:00
e24734260a ci: tweak cache keys 2021-07-10 00:10:22 +02:00
30d4f4cf5b ci: disable fail-fast on test job 2021-07-10 00:05:34 +02:00
a7d543acfc Also setup cache on rustfmt job in CI 2021-07-10 00:01:39 +02:00
575b305640 Cache dependencies in CI 2021-07-09 23:56:35 +02:00
ac928b2515 save sessions in database 2021-07-09 22:49:23 +02:00
81589757d8 upgrade dependencies 2021-07-09 17:17:42 +02:00
723f660947 Use stable toolchain for clippy check in CI 2021-07-09 16:56:09 +02:00
2a10d5cdbb Setup GitHub Actions 2021-07-09 16:44:58 +02:00
1f19abbd2c Configure rustfmt & clippy lints 2021-07-09 16:03:39 +02:00
3f70c079d2 proper CSRF config 2021-07-09 14:53:53 +02:00
4410c84caa setup sqlx with migrations 2021-07-09 10:50:51 +02:00
8da87b031c Add README and LICENSE 2021-07-08 14:41:54 +02:00
718d8bf44b Split storage and handlers in multiple modules 2021-07-08 14:23:41 +02:00
4f1e84947b Logout route 2021-07-08 12:06:47 +02:00
4cd75efc14 Simple error middleware 2021-07-08 11:54:50 +02:00
c3045a9dc1 simplify csrf middleware, cors middleware 2021-07-02 13:34:51 +02:00
168b91780b better file structure 2021-07-01 16:26:02 +02:00
2c2256791a static oauth2 client from config 2021-07-01 14:56:27 +02:00
5f7a346fe4 better CSRF handling in forms 2021-07-01 10:12:02 +02:00