1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-07 22:41:18 +03:00
Commit Graph

220 Commits

Author SHA1 Message Date
fb7c6f4dd1 storage: do less joins on authorization grants and refresh tokens 2023-01-05 16:49:19 +01:00
603a26eabd storage: oauth2 session repository 2023-01-05 16:44:56 +01:00
e26f75246d storage: Load with less joins
This is done to simplify some queries, to avoid loading more data than
necessary, and in preparation of a proper cache layer
2023-01-04 18:06:17 +01:00
09a567ab17 storage: OAuth2 client repository 2023-01-04 16:30:32 +01:00
1caf776d75 Allow updating clients from the config without truncating them 2023-01-03 16:43:18 +01:00
53172d6a3f strorage: browser session and user password repositories 2023-01-03 15:58:01 +01:00
4790897892 storage: trace storage operations better 2023-01-02 16:54:44 +01:00
13a9d03647 storage: user and user email repository 2023-01-02 15:28:44 +01:00
870a37151f storage: upstream oauth session repository + unit tests 2022-12-30 15:39:51 +01:00
0faf08fce2 storage: repository pattern for upstream oauth2 providers 2022-12-30 10:55:37 +01:00
5969b574e2 WIP: repository pattern for upstream oauth2 links 2022-12-30 10:16:22 +01:00
3bca5ab9be Add the standard API scope to the compat token introspection 2022-12-28 11:33:53 +01:00
f4ba9ba568 Bump serde from 1.0.151 to 1.0.152
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.151 to 1.0.152.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.151...v1.0.152)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 23:29:52 +01:00
6d74f0ae07 Bump thiserror from 1.0.37 to 1.0.38
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.37...1.0.38)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 22:54:53 +01:00
1eda19de09 Bump serde_json from 1.0.89 to 1.0.91
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.89 to 1.0.91.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.89...v1.0.91)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-21 22:11:17 +01:00
066265f2b1 Bump serde from 1.0.150 to 1.0.151
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.150 to 1.0.151.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.150...v1.0.151)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 09:28:32 +01:00
1a0482fd26 Bump serde from 1.0.149 to 1.0.150
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.149 to 1.0.150.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.149...v1.0.150)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-14 16:43:45 +01:00
9a39bf3f09 Be consistent when logging errors 2022-12-14 16:39:28 +01:00
a475a9a164 Make the compat login use the new password manager 2022-12-14 16:04:36 +01:00
533cabe005 Use the new password manager 2022-12-14 16:04:36 +01:00
56d43b0166 storage: finish cleaning up the errors 2022-12-08 15:29:15 +01:00
a836cc864a storage: unify most of the remaining errors 2022-12-08 15:29:15 +01:00
102571512e storage: unify most oauth2 related errors 2022-12-08 15:29:15 +01:00
b7cad48bbd storage: unify user operations errors 2022-12-08 15:29:15 +01:00
f7f65e314b storage: unify the compat login errors 2022-12-08 15:29:15 +01:00
1ddc05ff01 storage: start unifying database errors 2022-12-08 15:29:15 +01:00
12ce2a3d04 data-model: simplify the authorization grants and sessions 2022-12-08 15:29:15 +01:00
92d6f5b087 data-model: simplify the oauth2 clients 2022-12-08 15:29:15 +01:00
479e009931 data-model: simplify the compat sessions 2022-12-08 15:29:15 +01:00
feebbd0e97 data-model: simplify users and sessions 2022-12-08 15:29:15 +01:00
dff2f98167 data-model: simplify tokens 2022-12-08 15:29:15 +01:00
004d85561e Bump tokio from 1.22.0 to 1.23.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 14:28:05 +01:00
fb1cf3e6a3 Bump serde from 1.0.148 to 1.0.149
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.148 to 1.0.149.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.148...v1.0.149)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 14:57:06 +01:00
feebc074b9 Shorten some constraint names in schema 2022-12-05 19:39:51 +01:00
1655080b8f GraphQL: query upstream links from users 2022-12-05 19:39:51 +01:00
989e464dd0 WIP: Provider list on the login page 2022-12-05 19:39:51 +01:00
2e7112ef13 GraphQL API 2022-12-05 19:39:51 +01:00
28bfce7e45 Save the ID token during an upstream authorization 2022-12-05 19:39:51 +01:00
bf432a31e1 OIDC account linking and login 2022-12-05 19:39:51 +01:00
22a337cd45 WIP: handle account linking 2022-12-05 19:39:51 +01:00
cde9187adc Lookup and save upstream links 2022-12-05 19:39:51 +01:00
bedcf44741 WIP: upstream OIDC provider support 2022-12-05 19:39:51 +01:00
11efae004e Bump serde from 1.0.147 to 1.0.148
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.148.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-29 09:10:09 +01:00
8076990c3b Bump serde_json from 1.0.88 to 1.0.89
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.88...v1.0.89)

---
updated-dependencies:
- dependency-name: serde_json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-24 08:32:02 +01:00
e75cd4fd05 Bump tokio from 1.21.2 to 1.22.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-18 23:22:14 +01:00
c76a1dd2e7 Bump the latest axum rc 2022-11-18 14:57:22 +01:00
78778648ca Allow fetching more nodes by their IDs 2022-11-18 13:43:01 +01:00
5b687cda4f Bump chrono from 0.4.22 to 0.4.23
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.22 to 0.4.23.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.22...v0.4.23)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-14 12:20:51 +01:00
4f01c123c3 GraphQL schema documentation 2022-11-09 19:17:12 +01:00
4918440c3a Use the sqlx QueryBuilder to build the paginated queries 2022-11-09 19:17:12 +01:00