|
07ca145174
|
Cache the upstream OAuth 2.0 provider metadata
|
2023-08-28 18:30:40 +02:00 |
|
|
17e28f56c1
|
Upgrade Rust to 1.72.0
Fixes new clippy errors and upgrade other tools
|
2023-08-28 18:05:56 +02:00 |
|
|
d9a12de8a3
|
Save the authentication method on each authorization
This will help us logging out of the upstream.
|
2023-08-28 17:14:59 +02:00 |
|
|
096386e9b9
|
Save the application_type and the contacts in the OAuth 2.0 clients
This also removes the dedicated "redirect_uris" table and makes it a field of the "oauth2_clients" table
|
2023-08-28 14:41:49 +02:00 |
|
|
23717d8a23
|
build(deps): bump sea-query from 0.30.0 to 0.30.1
Bumps [sea-query](https://github.com/SeaQL/sea-query) from 0.30.0 to 0.30.1.
- [Release notes](https://github.com/SeaQL/sea-query/releases)
- [Changelog](https://github.com/SeaQL/sea-query/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-query/compare/0.30.0...0.30.1)
---
updated-dependencies:
- dependency-name: sea-query
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-27 19:12:56 +02:00 |
|
|
329bd401b3
|
build(deps): bump time from 0.3.27 to 0.3.28
Bumps [time](https://github.com/time-rs/time) from 0.3.27 to 0.3.28.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.27...v0.3.28)
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-27 19:11:35 +02:00 |
|
|
245a91b9ee
|
build(deps): bump pin-project-lite from 0.2.12 to 0.2.13
Bumps [pin-project-lite](https://github.com/taiki-e/pin-project-lite) from 0.2.12 to 0.2.13.
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases)
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.12...v0.2.13)
---
updated-dependencies:
- dependency-name: pin-project-lite
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-27 17:42:03 +02:00 |
|
|
9289922dfb
|
Grab a database lock when syncing the config
Fixes #1475
|
2023-08-25 15:48:47 +02:00 |
|
|
7ff9be99db
|
Add a basic login test to check session & CSRF cookies are correctly handled
|
2023-08-25 14:35:46 +02:00 |
|
|
a39f71c181
|
Handle cookies better by setting the right flags & expiration
|
2023-08-25 14:35:46 +02:00 |
|
|
f1e716ef90
|
build(deps): bump clap from 4.3.24 to 4.4.0
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.24 to 4.4.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.24...clap_complete-v4.4.0)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-25 12:32:06 +02:00 |
|
|
f9440fd52e
|
build(deps): bump wasmtime from 12.0.0 to 12.0.1
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 12.0.0 to 12.0.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v12.0.0...v12.0.1)
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-25 12:31:57 +02:00 |
|
|
ca3460b49e
|
Skip the "continue" screens on upstream IDP logins for new accounts
|
2023-08-25 10:56:10 +02:00 |
|
|
70e6489f17
|
Replace serde_with's base64 encoding / decoding with a custom wrapper (#1526)
Co-authored-by: Quentin Gliech <quenting@element.io>
|
2023-08-24 17:40:25 +02:00 |
|
|
88b52a41ba
|
build(deps): bump time from 0.3.25 to 0.3.27
Bumps [time](https://github.com/time-rs/time) from 0.3.25 to 0.3.27.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.25...v0.3.27)
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-23 19:39:47 +02:00 |
|
|
f8f3875f0a
|
build(deps): bump clap from 4.3.23 to 4.3.24
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.23 to 4.3.24.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.23...v4.3.24)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-23 19:39:31 +02:00 |
|
|
652a2784ce
|
Remove the pgcrypto extension requirement
Fixes #1557
|
2023-08-23 18:46:45 +02:00 |
|
|
37edc790cf
|
Bump wasmtime to 12
Also removes the relevant `cargo deny` exclusions.
|
2023-08-23 17:37:26 +02:00 |
|
|
2b2c0d0466
|
build(deps): bump clap from 4.3.21 to 4.3.23
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.21 to 4.3.23.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.21...v4.3.23)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-23 16:08:45 +02:00 |
|
|
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 |
|
|
aec9c84e24
|
build(deps): bump async-trait from 0.1.72 to 0.1.73
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.72 to 0.1.73.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.72...0.1.73)
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-23 15:40:08 +02:00 |
|
|
5538b19bed
|
build(deps): bump tokio-test from 0.4.2 to 0.4.3
Bumps [tokio-test](https://github.com/tokio-rs/tokio) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-test-0.4.2...tokio-test-0.4.3)
---
updated-dependencies:
- dependency-name: tokio-test
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-23 15:06:20 +02:00 |
|
|
2da41a94cb
|
Remove unused webpki dependency
|
2023-08-23 14:40:24 +02:00 |
|
|
34ed7e505d
|
build(deps): bump async-graphql from 6.0.1 to 6.0.4
Bumps [async-graphql](https://github.com/async-graphql/async-graphql) from 6.0.1 to 6.0.4.
- [Release notes](https://github.com/async-graphql/async-graphql/releases)
- [Changelog](https://github.com/async-graphql/async-graphql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/async-graphql/async-graphql/commits)
---
updated-dependencies:
- dependency-name: async-graphql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-23 12:04:08 +02:00 |
|
|
3aa7a26628
|
build(deps): bump httpdate from 1.0.2 to 1.0.3
Bumps [httpdate](https://github.com/pyfisch/httpdate) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/pyfisch/httpdate/releases)
- [Commits](https://github.com/pyfisch/httpdate/compare/v1.0.2...v1.0.3)
---
updated-dependencies:
- dependency-name: httpdate
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-23 12:03:22 +02:00 |
|
|
1ef1db2ae1
|
build(deps): bump tokio from 1.30.0 to 1.32.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.30.0 to 1.32.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.30.0...tokio-1.32.0)
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-23 12:02:56 +02:00 |
|
|
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 |
|
|
21964cbeab
|
Setup cargo-deny
Also try to remove a bunch of duplicate crates
|
2023-08-14 11:22:52 +02:00 |
|
|
699dfba55f
|
OpenTelemetry upgrade
|
2023-08-11 16:12:58 +02:00 |
|
|
6e8222c765
|
build(deps): bump the opentelemetry group with 7 updates
Bumps the opentelemetry group with 7 updates:
| Package | Update |
| --- | --- |
| [tracing-opentelemetry](https://github.com/tokio-rs/tracing-opentelemetry) | 0.19.0 to 0.20.0 |
| [opentelemetry](https://github.com/open-telemetry/opentelemetry-rust) | 0.19.0 to 0.20.0 |
| [opentelemetry-semantic-conventions](https://github.com/open-telemetry/opentelemetry-rust) | 0.11.0 to 0.12.0 |
| [opentelemetry-jaeger](https://github.com/open-telemetry/opentelemetry-rust) | 0.18.0 to 0.19.0 |
| [opentelemetry-otlp](https://github.com/open-telemetry/opentelemetry-rust) | 0.12.0 to 0.13.0 |
| [opentelemetry-http](https://github.com/open-telemetry/opentelemetry-rust) | 0.8.0 to 0.9.0 |
| [opentelemetry-prometheus](https://github.com/open-telemetry/opentelemetry-rust) | 0.12.0 to 0.13.0 |
Updates `tracing-opentelemetry` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/tokio-rs/tracing-opentelemetry/releases)
- [Changelog](https://github.com/tokio-rs/tracing-opentelemetry/blob/v0.1.x/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/tracing-opentelemetry/compare/v0.19.0...v0.20.0)
Updates `opentelemetry` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.19.0...v0.20.0)
Updates `opentelemetry-semantic-conventions` from 0.11.0 to 0.12.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.11.0...v0.12.0)
Updates `opentelemetry-jaeger` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.18.0...v0.19.0)
Updates `opentelemetry-otlp` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.12.0...v0.13.0)
Updates `opentelemetry-http` from 0.8.0 to 0.9.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-rust/blob/v0.9.0/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.8.0...v0.9.0)
Updates `opentelemetry-prometheus` from 0.12.0 to 0.13.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-rust/compare/v0.12.0...v0.13.0)
---
updated-dependencies:
- dependency-name: tracing-opentelemetry
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-semantic-conventions
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-jaeger
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-otlp
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-http
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
- dependency-name: opentelemetry-prometheus
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: opentelemetry
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-11 16:12:58 +02:00 |
|
|
904722643f
|
Test the admin scope on the GraphQL API
|
2023-08-11 14:56:21 +02:00 |
|
|
1fcab9709f
|
Basic tests of the GraphQL API
|
2023-08-11 14:56:21 +02:00 |
|
|
c7153b08e3
|
Also make all the GraphQL mutations available for admins
|
2023-08-11 14:56:21 +02:00 |
|
|
ca86e5a39e
|
Better check for resource ownership in the GraphQL API
|
2023-08-11 14:56:21 +02:00 |
|
|
4ef3bcf336
|
Make the GraphQL interface accessible for OAuth clients
|
2023-08-11 14:56:21 +02:00 |
|
|
9c7f6c2d4e
|
build(deps): bump pin-project-lite from 0.2.11 to 0.2.12
Bumps [pin-project-lite](https://github.com/taiki-e/pin-project-lite) from 0.2.11 to 0.2.12.
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases)
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/taiki-e/pin-project-lite/compare/v0.2.11...v0.2.12)
---
updated-dependencies:
- dependency-name: pin-project-lite
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-10 07:59:37 +02:00 |
|
|
f09f6b7c2f
|
build(deps): bump tokio from 1.29.1 to 1.30.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.30.0)
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-10 07:59:09 +02:00 |
|
|
4363cd700a
|
build(deps): bump const-oid from 0.9.4 to 0.9.5
Bumps [const-oid](https://github.com/RustCrypto/formats) from 0.9.4 to 0.9.5.
- [Commits](https://github.com/RustCrypto/formats/compare/const-oid/v0.9.4...const-oid/v0.9.5)
---
updated-dependencies:
- dependency-name: const-oid
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-09 17:46:04 +02:00 |
|
|
7ce8b0d841
|
build(deps): bump der from 0.7.7 to 0.7.8
Bumps [der](https://github.com/RustCrypto/formats) from 0.7.7 to 0.7.8.
- [Commits](https://github.com/RustCrypto/formats/compare/der/v0.7.7...der/v0.7.8)
---
updated-dependencies:
- dependency-name: der
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-09 17:23:05 +02:00 |
|
|
1064077804
|
build(deps): bump webpki-roots from 0.25.1 to 0.25.2
Bumps [webpki-roots](https://github.com/rustls/webpki-roots) from 0.25.1 to 0.25.2.
- [Commits](https://github.com/rustls/webpki-roots/commits)
---
updated-dependencies:
- dependency-name: webpki-roots
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-09 17:21:51 +02:00 |
|
|
3e6ea9a158
|
Add a 404 HTMl fallback
|
2023-08-09 16:56:11 +02:00 |
|
|
bbd0956f2d
|
Put code challenge methods in AuthorizationRequestData
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
|
2023-08-09 12:10:45 +02:00 |
|
|
dbdeea4a10
|
Run rustfmt nightly
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
|
2023-08-09 12:10:45 +02:00 |
|
|
43ce327cdd
|
Add test for all authorization request parameters
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
|
2023-08-09 12:10:45 +02:00 |
|
|
ba4ba75f73
|
Merge data structs and use builder pattern
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
|
2023-08-09 12:10:45 +02:00 |
|
|
c67a00ddd6
|
Add support for all authorization request parameters
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
|
2023-08-09 12:10:45 +02:00 |
|
|
e430e9d414
|
rustls: use RootCertStore.add_trust_anchors instead of deprecated RootCertStore.add_server_trust_anchors
|
2023-08-09 12:01:08 +02:00 |
|
|
b153316cf6
|
build(deps): bump rustls from 0.21.5 to 0.21.6
Bumps [rustls](https://github.com/rustls/rustls) from 0.21.5 to 0.21.6.
- [Release notes](https://github.com/rustls/rustls/releases)
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.5...v/0.21.6)
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-09 12:01:08 +02:00 |
|
|
bcc988beff
|
build(deps): bump serde_with from 3.1.0 to 3.2.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.1.0...v3.2.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-09 11:35:00 +02:00 |
|
|
72aa800ebb
|
build(deps): bump clap from 4.3.19 to 4.3.21
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.19 to 4.3.21.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.19...v4.3.21)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2023-08-09 11:34:06 +02:00 |
|