de13d3ef19
CLI tool to sync the upstream IDPs with the config
2023-06-26 17:24:56 +02:00
9d5c2a40a1
Pass the claims import preferences on the storage layer
2023-06-26 17:24:56 +02:00
c183830489
Ground work to import upstream OIDC claims on registration.
2023-06-26 17:24:56 +02:00
2a514cf452
Add a admin flag to the compatibility session
...
Also adds a CLI tool to issue a compatibility token.
2023-06-16 15:24:38 +02:00
7e90564d16
Bump Rust dependencies
2023-06-14 12:02:16 +02:00
1993f4cfca
Bump Rust dependencies
2023-05-25 18:15:44 +02:00
047a91907d
Split the mutations and make them use an input object instead of different parameters
2023-04-25 16:39:15 +02:00
a55976eeeb
Fix Device to ScopeToken conversion and test it
2023-04-24 10:42:38 +02:00
d34e01fc67
Provision and delete Matrix devices in OAuth sessions
2023-04-24 10:42:38 +02:00
4baa15bbd3
Bump Rust depdenencies
2023-04-18 23:01:43 +02:00
f232e57a93
build(deps): bump thiserror from 1.0.39 to 1.0.40
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.39...1.0.40 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-14 12:40:00 +02:00
ccc9884726
Allow redirect URIs with any port for loopback interfaces
2023-04-14 10:22:49 +02:00
43bcaf5308
Lint
2023-04-06 16:24:18 +02:00
f53369aeae
Handle imported Synapse access/refresh tokens
2023-04-06 16:24:18 +02:00
6fbd352591
build(deps): bump serde from 1.0.156 to 1.0.158
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.156 to 1.0.158.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.156...v1.0.158 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-21 17:26:05 +01:00
3372a8ff9a
build(deps): bump serde from 1.0.155 to 1.0.156
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.155 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.155...v1.0.156 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-15 14:51:14 +01:00
83cb9158a0
Fix clippy errors
2023-03-14 10:47:35 +01:00
c6f31d0102
Bump Rust dependencies
2023-03-14 10:47:35 +01:00
97635375cc
handlers: Add test for the compatibility login API
2023-02-24 15:52:21 +01:00
bdce2210ea
build(deps): bump crc from 3.0.0 to 3.0.1
...
Bumps [crc](https://github.com/mrhooray/crc-rs ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/mrhooray/crc-rs/releases )
- [Commits](https://github.com/mrhooray/crc-rs/compare/3.0.0...3.0.1 )
---
updated-dependencies:
- dependency-name: crc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-02 11:45:20 +01:00
39c126318f
Fix the authorization grant template
...
It previously relied on the client being in the authorization grant,
which is not the case anymore. This commit also adds a test to ensure
we're not breaking this template in the future.
2023-01-31 16:50:48 +01:00
3f4ad789bf
storage-pg: write tests for the OAuth2 repositories
2023-01-25 17:24:34 +01:00
d14ca156ad
storage: split the repository trait
2023-01-24 16:05:14 +01:00
876bc9fcb3
handlers: extract the PgRepository from the request
...
Also fix a bunch of clippy errors & doctests
2023-01-18 18:22:13 +01:00
9005931e2a
handlers: box the rng and clock, and extract it from the state
2023-01-18 17:49:59 +01:00
3798f25f7d
Fix rustdoc lints
2023-01-18 12:25:49 +01:00
73a921cc30
Split the storage trait from the implementation
2023-01-18 10:38:22 +01:00
488a666a8d
storage: remaining oauth2 repositories
...
- authorization grants
- access tokens
- refresh tokens
2023-01-12 18:26:04 +01:00
36396c0b45
storage: repository pattern for the compat layer
2023-01-12 15:41:26 +01:00
9f0c9f1466
storage: cleanup access/refresh token lookups
2023-01-11 12:14:52 +01:00
920869b583
storage: do less joins in compat sessions
2023-01-10 18:49:35 +01:00
35787aa072
data-model: have more structs use a state machine
2023-01-09 18:02:32 +01:00
39cd9a2578
data-model: don't embed the client in the auth grant
2023-01-09 10:49:51 +01:00
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
53172d6a3f
strorage: browser session and user password repositories
2023-01-03 15:58:01 +01:00
13a9d03647
storage: user and user email repository
2023-01-02 15:28:44 +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
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
ca112d45e1
ci: Update clippy to 1.66 and fix new warnings
2022-12-16 18:16:18 +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
533cabe005
Use the new password manager
2022-12-14 16:04:36 +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
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