1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-21 23:00:50 +03:00
Commit Graph

2125 Commits

Author SHA1 Message Date
Quentin Gliech
7e0bfc9eb4 ci: limit the number of concurrent builds 2021-12-10 16:48:37 +01:00
Quentin Gliech
3372b2dc6c ci: only push regular and debug targets 2021-12-10 15:34:55 +01:00
Quentin Gliech
3fc328f1af ci: Run tests on all platforms in the Docker image 2021-12-10 11:22:04 +01:00
Quentin Gliech
55224d989c Only build a linux/arm image 2021-12-10 11:17:39 +01:00
Quentin Gliech
ca69be96d2 More cross-compilation platforms 2021-12-10 10:52:58 +01:00
Quentin Gliech
861b629930 Use Buildx bake files for better control over the docker images 2021-12-10 00:26:11 +01:00
Quentin Gliech
d558b74bad Upgrade dependencies 2021-12-09 23:34:36 +01:00
Quentin Gliech
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
Quentin Gliech
abab5d8446 Add a dummy static file 2021-12-09 22:41:24 +01:00
Quentin Gliech
d8df34db4c Frontend/static files building & serving 2021-12-09 22:09:39 +01:00
Quentin Gliech
c53318eca0 Refactor templates loading & implement templates hot-reload 2021-12-09 14:07:09 +01:00
Quentin Gliech
8df4b315f2 Fix multiple clippy warnings/errors 2021-12-06 10:08:49 +01:00
Quentin Gliech
c857ff90ec Upgrade dependencies 2021-12-06 10:01:37 +01:00
Quentin Gliech
54a7e63913 Tweak items visibility in the core crate 2021-11-25 17:11:23 +01:00
Quentin Gliech
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
Quentin Gliech
8608e46eba Graceful shutdown of the server 2021-11-22 18:30:17 +01:00
Quentin Gliech
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
Quentin Gliech
d78f64d077 Support the prompt param in authorization requests 2021-11-22 15:54:52 +01:00
Quentin Gliech
a8614dad84 ci: use actions to generate and upload LSIF reports 2021-11-22 14:58:16 +01:00
Quentin Gliech
5a4d3f6c94 Generate a scope with a random device ID 2021-11-22 14:06:25 +01:00
Quentin Gliech
6a69ef8456 Fix post-auth redirects & support max_age
This also displays some context on login and reauth page about the next
step
2021-11-16 19:16:52 +01:00
Quentin Gliech
04f8c5fe97 Better post-login/auth redirects 2021-11-16 15:09:14 +01:00
Quentin Gliech
0a2fda35fd Bump all dependencies 2021-11-05 17:19:07 +01:00
Quentin Gliech
16fe5a8d76 Implement client_secret_jwt authentication method 2021-11-05 17:18:48 +01:00
Quentin Gliech
6f9213c5f4 Merge pull request #7 from matrix-org/richvdh-patch-1
Link to the docs
2021-11-04 13:57:15 +01:00
Richard van der Hoff
3ac3edf771 Link to the docs 2021-11-04 12:56:08 +00:00
Quentin Gliech
a4e9ad3d0b Split the data-model in different modules 2021-11-02 12:58:13 +01:00
Quentin Gliech
3eb47969e3 Run Docker image as non-root 2021-11-02 12:26:52 +01:00
Quentin Gliech
77af7aec70 Setup cross-compilation when building Docker image 2021-11-02 09:59:49 +01:00
Quentin Gliech
d6c1156afc ci: build and push multi-arch images 2021-11-01 17:30:49 +01:00
Quentin Gliech
bca8b11e46 Upgrade all dependencies 2021-10-25 17:40:54 -04:00
Quentin Gliech
004821f4f2 Refactor authorization grant
The authorization grant is now properly separated from the OAuth2
session, which helps avoiding a lot of potential database
inconsistencies
2021-10-25 17:27:19 -04:00
Quentin Gliech
4307276b0e Refactor DB interactions for OAuth code and tokens
This ensures complex types like scopes are properly parsed back from the
database.
2021-10-19 20:08:08 +02:00
Quentin Gliech
617ab83ab2 Upgrade all dependencies 2021-10-18 17:45:45 +02:00
Quentin Gliech
026bc47c27 Move templates to their own crate 2021-10-18 17:40:25 +02:00
Quentin Gliech
cf8793da27 Zipkin and Jaeger support 2021-10-14 19:38:57 +02:00
Quentin Gliech
f016019553 Make the OTEL propagator configurable 2021-10-14 18:55:47 +02:00
Quentin Gliech
29f3edd833 Better CORS filter to allow OTEL propagator headers 2021-10-14 18:47:38 +02:00
Quentin Gliech
e630279b54 Propagate parent trace context 2021-10-14 17:39:49 +02:00
Quentin Gliech
f9036aecd4 Make telemetry configurable
Also allows opting-out of the OTLP exporter to remove the dependency to
protoc when building.
2021-10-13 16:48:16 +02:00
Quentin Gliech
27ae6a5167 Initial OpenTelemetry tracing support 2021-10-13 13:56:42 +02:00
Quentin Gliech
b3587c677c WIP: Refactor higher-level data-model to its own crate 2021-10-12 19:03:01 +02:00
Quentin Gliech
29bf149921 ci: switch code coverage to grcov 2021-10-06 17:46:13 +02:00
Quentin Gliech
224206f70d ci: upload test coverage on codecov.io 2021-10-06 11:03:57 +02:00
Quentin Gliech
3092a82cfa ci: generate and upload LSIF data 2021-10-05 21:25:32 +02:00
Quentin Gliech
ec7d936b10 Better data structure to handle scopes 2021-10-05 20:36:36 +02:00
Quentin Gliech
8ecdf7c6c8 PKCE support 2021-10-05 14:08:47 +02:00
Quentin Gliech
af71adbe7a Upgrade dependencies 2021-10-04 14:48:23 +02:00
Quentin Gliech
bb8fe28f4f Fix request handling when the cookie header is not there 2021-09-25 18:09:37 +02:00
Quentin Gliech
28efac242e docs: fix edit links 2021-09-25 18:00:32 +02:00