Quentin Gliech
ea873577aa
Fix many clippy warnings
...
This is because the tracing-attributes update made clippy look at those
again. I've removed the `too_many_lines` lint, as it's not really useful
and we ignore it most of the time anyway.
2025-07-30 14:49:38 +02:00
Quentin Gliech
8f6c854827
Include the issuer URLs in the error message when they don't match
2025-07-23 19:36:54 +02:00
Quentin Gliech
c3707c13ae
Add license headers in most files that missed them
2025-06-12 11:01:07 +02:00
Quentin Gliech
3d96dc9d47
Update license headers to match the actual license
2025-06-12 10:32:16 +02:00
Quentin Gliech
97e83e1467
Define all the dependencies at the workspace level
2025-06-10 14:25:38 +02:00
Quentin Gliech
e310ae22cd
Record metrics for OAuth 2.0 token requests
2025-03-26 23:14:51 +01:00
Quentin Gliech
3f66940090
Sort client registration metadata fields before hashing
2025-03-26 15:41:04 +01:00
Quentin Gliech
4294dc86cd
Ensure client metadata hashing is stable
...
This is done by using the indexmap crate to preserve insertion order for
localized fields.
2025-03-25 15:00:48 +01:00
Quentin Gliech
5c13757e1d
Deduplicate client registrations by hashing the metadata
2025-03-25 15:00:23 +01:00
Quentin Gliech
5a4807cd5f
Replace data-encoding with base64ct
2025-03-25 13:41:58 +01:00
Olivier 'reivilibre
910630c9b8
Use DurationSeconds
2025-03-17 10:29:54 +00:00
Olivier 'reivilibre
86a9ad394c
Add expires_in to introspection responses
...
Closes #4224
Corresponds to: https://github.com/element-hq/synapse/pull/18231
2025-03-17 09:41:29 +00:00
Quentin Gliech
7c9bb73f67
Merge remote-tracking branch 'origin/main' into quenting/compat-device-id
2025-03-04 13:33:09 +01:00
Quentin Gliech
3d2b67a0b2
Upgrade to Rust 1.85 and edition 2024
2025-02-21 16:15:02 +01:00
Quentin Gliech
9cdc3b9f37
Allow compat session devices to have spaces
2025-02-19 17:55:18 +01:00
dependabot[bot]
a2c6543bb1
build(deps): bump data-encoding from 2.7.0 to 2.8.0
...
Bumps [data-encoding](https://github.com/ia0/data-encoding ) from 2.7.0 to 2.8.0.
- [Commits](https://github.com/ia0/data-encoding/compare/v2.7.0...v2.8.0 )
---
updated-dependencies:
- dependency-name: data-encoding
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-10 14:14:02 +00:00
dependabot[bot]
f84a193aec
build(deps): bump data-encoding from 2.6.0 to 2.7.0
...
Bumps [data-encoding](https://github.com/ia0/data-encoding ) from 2.6.0 to 2.7.0.
- [Commits](https://github.com/ia0/data-encoding/commits )
---
updated-dependencies:
- dependency-name: data-encoding
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-21 15:37:49 +01:00
Quentin Gliech
9247885518
Remove unused dependencies
2025-01-16 17:59:03 +01:00
dependabot[bot]
81e305dbed
build(deps): bump serde_with from 3.11.0 to 3.12.0
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.11.0...v3.12.0 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-01-06 10:53:57 +01:00
Mathieu Velten
56edcb4e52
Add fetch_userinfo to upstream SSO provider ( #3363 )
2024-11-26 15:01:03 +00:00
Quentin Gliech
63e6e98083
Remove most doctests
2024-10-29 12:37:59 +01:00
dependabot[bot]
8c5af5bcc5
build(deps): bump serde_with from 3.9.0 to 3.11.0
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.9.0 to 3.11.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.9.0...v3.11.0 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-07 18:49:33 +02:00
Quentin Gliech
847ccf8bb4
Move the remaining mentions of matrix-org to element-hq
2024-09-10 14:28:55 +02:00
Quentin Gliech
ed4b6c42a7
Remove (C)
2024-09-10 14:28:55 +02:00
Quentin Gliech
f6bb100c0a
License headers change
2024-09-05 13:25:42 +02:00
dependabot[bot]
54b1b142df
build(deps): bump serde_with from 3.8.3 to 3.9.0
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.8.3 to 3.9.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.8.3...v3.9.0 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-25 09:33:43 +02:00
dependabot[bot]
9486460aae
build(deps): bump serde_with from 3.8.2 to 3.8.3
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.8.2 to 3.8.3.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.8.2...v3.8.3 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-05 10:29:10 +02:00
dependabot[bot]
a9cf0c33c8
build(deps): bump serde_with from 3.8.1 to 3.8.2
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.8.1...v3.8.2 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-07-01 12:35:29 +02:00
Quentin Gliech
8e513ea3cc
Update Cargo.lock and update cargo-deny exceptions
2024-05-02 14:32:05 +02:00
dependabot[bot]
9fe842d254
build(deps): bump serde_with from 3.7.0 to 3.8.1
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.7.0...v3.8.1 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-30 18:12:31 +02:00
Quentin Gliech
7e30daf83e
Replace parse-display with manual Display/FromStr impls
2024-03-19 16:38:46 +01:00
Kévin Commaille
4eeedbef31
Add account management URL for clients
...
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr >
2024-03-19 15:05:27 +01:00
dependabot[bot]
5dc8e73f7e
build(deps): bump serde_with from 3.6.0 to 3.7.0
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.6.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-19 10:40:19 +01:00
dependabot[bot]
5b5346ebb7
build(deps): bump parse-display from 0.8.2 to 0.9.0
...
Bumps [parse-display](https://github.com/frozenlib/parse-display ) from 0.8.2 to 0.9.0.
- [Changelog](https://github.com/frozenlib/parse-display/blob/master/CHANGELOG.md )
- [Commits](https://github.com/frozenlib/parse-display/compare/v0.8.2...v0.9.0 )
---
updated-dependencies:
- dependency-name: parse-display
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-03-18 18:44:10 +01:00
Quentin Gliech
61a69f5af4
Upgrade chrono and replace deprecated methods usage
2024-03-18 17:26:40 +01:00
Quentin Gliech
7d9d97a006
Implement the device access token request
2024-02-02 18:01:51 +01:00
Quentin Gliech
50654d2e40
Implement the device code authorisation request
2024-02-02 18:01:51 +01:00
Quentin Gliech
b927d330c9
Bump most Rust dependencies
2024-02-02 15:37:05 +01:00
Quentin Gliech
ea91dfc501
Set crates descriptions for crates we publish
2023-12-07 17:10:57 +01:00
Quentin Gliech
49963b26f8
Prepare workspace to publish OIDC crates
2023-12-07 16:02:55 +01:00
Quentin Gliech
a0f5f3c642
Enable clippy lints on a workspace level
...
This enables a lot more lints than before in some crates, so this fixed a lot of warnings as well.
2023-12-05 17:20:42 +01:00
Quentin Gliech
30247448d5
Bump Rust dependencies
2023-11-24 13:04:37 +01:00
dependabot[bot]
aa5f214fc3
build(deps): bump serde_with from 3.3.0 to 3.4.0
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.3.0...v3.4.0 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-19 21:33:03 +02:00
dependabot[bot]
b78a6d9f84
build(deps): bump sha2 from 0.10.7 to 0.10.8
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.10.7 to 0.10.8.
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.7...sha2-v0.10.8 )
---
updated-dependencies:
- dependency-name: sha2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-05 19:58:35 +02:00
Quentin Gliech
aeb379eee9
oauth2-types: Only require redirect_uris & change the default response type for the auth code grant and implicit grant
2023-09-06 09:35:34 +02:00
Quentin Gliech
542d0a6073
Implement the client credentials grant
2023-09-06 09:35:34 +02:00
Quentin Gliech
a01c53019f
Define common crates metadata on the workspace level
2023-09-01 16:27:22 +02:00
Quentin Gliech
17e28f56c1
Upgrade Rust to 1.72.0
...
Fixes new clippy errors and upgrade other tools
2023-08-28 18:05:56 +02:00
dependabot[bot]
6a2f1367d1
build(deps): bump serde_with from 3.2.0 to 3.3.0
...
Bumps [serde_with](https://github.com/jonasbb/serde_with ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-08-23 16:05:37 +02:00
Quentin Gliech
7c83dce66e
Move some common dependencies on the workspace level
...
Also deprecates the AWS SESv2 transport for emails
2023-08-14 13:00:01 +02:00