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
9003eaf0c2 Use new generated enums & query supported signing algs from the keystore 2022-01-11 18:46:26 +01:00
0e70af0a75 Codegen enums from IANA registries 2022-01-11 18:46:01 +01:00
97ab75fb15 Add loads of server metadata in the discovery document 2022-01-11 12:54:26 +01:00
b4f0f0d0be Have all server metadata from the IANA registry 2022-01-11 11:20:17 +01:00
a30d4b58f0 Add exp claim in id_tokens 2022-01-10 17:59:57 +01:00
5631300dc3 Claims handling in JOSE library 2022-01-10 17:41:48 +01:00
f0a7e96875 Add tests for private_key_jwt client auth 2022-01-06 10:04:43 +01:00
ef3da801a3 Fix client auth test 2022-01-06 09:44:21 +01:00
a965e488e2 Support private_key_jwt client auth
Which includes having a verifying keystore out of JWKS (and soon out of
a JWKS URI)
2022-01-05 21:07:18 +01:00
f7706f2351 jose: split the keystores in different modules 2022-01-05 11:43:26 +01:00
767d7649ce Upgrade more crypto crates 2022-01-05 10:57:18 +01:00
1377e09dbe Upgrade dependencies 2022-01-04 22:35:18 +01:00
f933ace007 New JWT/JOSE crate
Still WIP, needs to handle time related claims
2022-01-04 22:28:00 +01:00
694a0bff03 Use Rust 1.58 in Docker image 2021-12-17 20:14:16 +01:00
a55e8af2c8 Cut down a lot on compilation time 2021-12-17 19:55:22 +01:00
2f97ca685d Split the core crate 2021-12-17 18:04:30 +01:00
ceb17d3646 Move storage module to its own crate 2021-12-17 12:15:07 +01:00
584294538b Implement a basic "my account" page with password change 2021-12-16 12:31:29 +01:00
412997663b Fix registration not being saved in database 2021-12-15 15:44:13 +01:00
1d58d134a9 Fix user registration from CLI 2021-12-15 11:14:34 +01:00
3cda384fd4 Move user passwords to a separate table 2021-12-14 18:17:25 +01:00
4ffa942edd ci: store buildx cache in registry 2021-12-14 16:51:31 +01:00
95bde28ebe Soft-fail if .env fails to load 2021-12-14 16:27:18 +01:00
8e8c420999 docker: rollback to rust 1.56.1
This should improve build times
2021-12-14 11:57:41 +01:00
af5ebcba51 Enable backtraces in anyhow 2021-12-14 11:56:05 +01:00
7341f0dccf Better error context on startup 2021-12-14 11:52:19 +01:00
5d7619827b Link between login & register + "back to client" link 2021-12-14 10:29:19 +01:00
daf5542e6d Fix embedded templates loading 2021-12-13 17:56:35 +01:00
ac211a5aa0 Add missing embedded templates 2021-12-13 17:18:16 +01:00
18bcc3dfa8 Frontend overhaul based on Tailwind CSS 2021-12-13 16:55:08 +01:00
7e0bfc9eb4 ci: limit the number of concurrent builds 2021-12-10 16:48:37 +01:00
3372b2dc6c ci: only push regular and debug targets 2021-12-10 15:34:55 +01:00
3fc328f1af ci: Run tests on all platforms in the Docker image 2021-12-10 11:22:04 +01:00
55224d989c Only build a linux/arm image 2021-12-10 11:17:39 +01:00
ca69be96d2 More cross-compilation platforms 2021-12-10 10:52:58 +01:00
861b629930 Use Buildx bake files for better control over the docker images 2021-12-10 00:26:11 +01:00
d558b74bad Upgrade dependencies 2021-12-09 23:34:36 +01:00
c4a979245b Move to Rust edition 2021
Also bump MSRV to 1.56 and use the same clippy lints in every crate
2021-12-09 22:54:35 +01:00
abab5d8446 Add a dummy static file 2021-12-09 22:41:24 +01:00
d8df34db4c Frontend/static files building & serving 2021-12-09 22:09:39 +01:00
c53318eca0 Refactor templates loading & implement templates hot-reload 2021-12-09 14:07:09 +01:00
8df4b315f2 Fix multiple clippy warnings/errors 2021-12-06 10:08:49 +01:00
c857ff90ec Upgrade dependencies 2021-12-06 10:01:37 +01:00
54a7e63913 Tweak items visibility in the core crate 2021-11-25 17:11:23 +01:00
8a6751398d Use BoxedFilter on main handlers to reduce compile times
This avoids having opaque `impl Filter`, which moves the compile time in
the `core` crate instead of the end `cli` one
2021-11-22 19:03:59 +01:00
8608e46eba Graceful shutdown of the server 2021-11-22 18:30:17 +01:00
de2e078e18 Match the spec on handling request/registration params
Raise a (request|request_uri|registration)_unsupported error when one of
those parameters are in an authorization request
2021-11-22 16:14:25 +01:00
d78f64d077 Support the prompt param in authorization requests 2021-11-22 15:54:52 +01:00
a8614dad84 ci: use actions to generate and upload LSIF reports 2021-11-22 14:58:16 +01:00
5a4d3f6c94 Generate a scope with a random device ID 2021-11-22 14:06:25 +01:00