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
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
04f8c5fe97 Better post-login/auth redirects 2021-11-16 15:09:14 +01:00
0a2fda35fd Bump all dependencies 2021-11-05 17:19:07 +01:00
16fe5a8d76 Implement client_secret_jwt authentication method 2021-11-05 17:18:48 +01:00
6f9213c5f4 Merge pull request #7 from matrix-org/richvdh-patch-1
Link to the docs
2021-11-04 13:57:15 +01:00
3ac3edf771 Link to the docs 2021-11-04 12:56:08 +00:00
a4e9ad3d0b Split the data-model in different modules 2021-11-02 12:58:13 +01:00
3eb47969e3 Run Docker image as non-root 2021-11-02 12:26:52 +01:00
77af7aec70 Setup cross-compilation when building Docker image 2021-11-02 09:59:49 +01:00
d6c1156afc ci: build and push multi-arch images 2021-11-01 17:30:49 +01:00
bca8b11e46 Upgrade all dependencies 2021-10-25 17:40:54 -04:00
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
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
617ab83ab2 Upgrade all dependencies 2021-10-18 17:45:45 +02:00
026bc47c27 Move templates to their own crate 2021-10-18 17:40:25 +02:00
cf8793da27 Zipkin and Jaeger support 2021-10-14 19:38:57 +02:00
f016019553 Make the OTEL propagator configurable 2021-10-14 18:55:47 +02:00
29f3edd833 Better CORS filter to allow OTEL propagator headers 2021-10-14 18:47:38 +02:00
e630279b54 Propagate parent trace context 2021-10-14 17:39:49 +02:00
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
27ae6a5167 Initial OpenTelemetry tracing support 2021-10-13 13:56:42 +02:00
b3587c677c WIP: Refactor higher-level data-model to its own crate 2021-10-12 19:03:01 +02:00
29bf149921 ci: switch code coverage to grcov 2021-10-06 17:46:13 +02:00
224206f70d ci: upload test coverage on codecov.io 2021-10-06 11:03:57 +02:00
3092a82cfa ci: generate and upload LSIF data 2021-10-05 21:25:32 +02:00
ec7d936b10 Better data structure to handle scopes 2021-10-05 20:36:36 +02:00
8ecdf7c6c8 PKCE support 2021-10-05 14:08:47 +02:00
af71adbe7a Upgrade dependencies 2021-10-04 14:48:23 +02:00
bb8fe28f4f Fix request handling when the cookie header is not there 2021-09-25 18:09:37 +02:00
28efac242e docs: fix edit links 2021-09-25 18:00:32 +02:00
f1b745de31 Build the documentation to GitHub Pages 2021-09-24 19:10:49 +02:00
4d589b8fa1 Add some documentation as an mdBook 2021-09-24 19:10:17 +02:00
8e34dd3778 Trigger a rebuild when the migration files change 2021-09-24 19:08:52 +02:00
e9158382ef Simplify template render check logic
Also documents a bunch of things in mas_core::templates
2021-09-24 11:45:25 +02:00
a1c7b7f82d Add missing file forgotten in ff41ae5762 2021-09-24 09:20:22 +02:00
ddf155b901 WIP: generate sample template contexts for testing 2021-09-23 23:51:50 +02:00
ff41ae5762 Templates config 2021-09-23 23:51:17 +02:00
7c58bb4c17 Fix GitHub Actions workflow 2021-09-23 21:39:39 +02:00
5100cbdef2 Document the mas_core::reply and mas_core::tokens modules 2021-09-23 21:34:13 +02:00
3cbce1e33e Upgrade all dependencies 2021-09-23 20:54:24 +02:00
3bf86c4b21 Fully document the mas_core::filters module 2021-09-23 20:53:51 +02:00
2cfaff737e Simplify session-related filters 2021-09-23 19:16:30 +02:00
d06cdb6e02 Make database-related warp filters generic over the DB type 2021-09-23 17:40:50 +02:00
4a927861b0 Proper error when submitting invalid authorization code 2021-09-23 14:48:12 +02:00
a9f1f8bb71 Refactor token generation a bit 2021-09-23 14:24:44 +02:00
29126e336e Clean up some warp filters and add documentation 2021-09-23 14:02:44 +02:00
9cd7dec070 ci: simplify workflow and enhance cache restore
This stops building on Windows and macOS and changes the cache key a bit
for better cache restore when the lockfiles or toolchain change
2021-09-23 10:27:25 +02:00
e08dae27b1 Consume authorization code on use 2021-09-17 18:24:43 +02:00
1813984a1c Include "state" in authorization request errors 2021-09-17 18:13:30 +02:00
dc0d54aaf5 Better error handling in cookies, session and csrf filters 2021-09-17 18:12:34 +02:00