Commit Graph

205 Commits

Author SHA1 Message Date
Quentin Gliech
6ffe95cdc6 Merge branch 'main' into feat/allow_override_user 2025-07-21 17:03:35 +02:00
Quentin Gliech
942287f99b Threaten to switch to using the modern API in a few releases. 2025-07-21 13:15:48 +02:00
olivier
d9d5130051 fix err return 2025-07-21 10:13:04 +02:00
olivier
64b3b1b2a5 fix rust style 2025-07-21 09:52:24 +02:00
Olivier D
36d4f39424 use match
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-07-21 09:52:24 +02:00
mcalinghee
f78e2c38f5 use of UpstreamOAuthProviderLocalpartPreference 2025-07-21 09:52:24 +02:00
mcalinghee
1886e73e40 allow importing existing users when the localpart matches in upstream OAuth 2.0 logins 2025-07-21 09:52:24 +02:00
Quentin Gliech
85287c5471 Use the new dedicated Synapse API 2025-07-18 16:39:24 +02:00
Quentin Gliech
62dcab9f75 Box all the figment errors to avoid large enum differences 2025-07-16 19:23:06 +02:00
Quentin Gliech
e8627166a9 Log out oauth & compat sessions when receiving a backchannel logout request 2025-07-04 16:27:10 +02:00
Quentin Gliech
db8c557f81 Backchannel logout behavior settings on upstream providers 2025-07-04 16:27:10 +02:00
Quentin Gliech
42f05a6ab8 Merge branch 'main' into ref-merge/b1d8887d0826a1e71af3e0a1c926909d1eda4211 2025-06-17 17:08:29 +02:00
Quentin Gliech
d67d982443 Fix loading of DER-encoded key files 2025-06-17 16:52:33 +02:00
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
642c8ba508 Support for experimental plan management tab in UI (#4549) 2025-06-10 14:14:24 +02:00
Hugh Nimmo-Smith
192ad7af3e Lint 2025-06-06 10:40:13 +01:00
Hugh Nimmo-Smith
a127136384 Make plan_management_iframe_uri be a String not URL 2025-06-06 10:31:45 +01:00
Quentin Gliech
186b5cbdbe Add secrets.encryption_file config option (#4617) 2025-06-05 15:14:55 +02:00
Quentin Gliech
65ec6c187c config: Refactor parsing of secrets section (#4602) 2025-06-05 15:13:00 +02:00
Kai A. Hiller
67874be00f Skip encryption serialization if None
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-06-04 11:53:43 +02:00
Kai A. Hiller
1433e23718 Treat content of encryption_file as hex-encoded
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-06-04 11:53:43 +02:00
Kai A. Hiller
06a668ef5f Skip deserialization if field is None 2025-06-04 11:52:33 +02:00
Kai A. Hiller
147c4845c9 Use default implementation of validate function 2025-06-04 10:27:16 +02:00
V02460
89f5de6bcb Use futures-util dependency
Co-authored-by: Quentin Gliech <quenting@element.io>
2025-06-04 10:25:14 +02:00
Quentin Gliech
dcef4bcf3f Add config flag to require registration tokens for password registrations 2025-06-03 17:42:53 +02:00
Kai A. Hiller
1d88c875e8 Add secrets.encryption_file config option
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-06-02 18:39:19 +02:00
Kai A. Hiller
03c08c6023 Load keys concurrently
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-06-02 14:06:43 +02:00
Kai A. Hiller
c448bd69bf Refactor key options in secret config
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-06-02 14:06:43 +02:00
Kai A. Hiller
647f415892 Refactor password options in secret config
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-06-02 14:06:43 +02:00
Kai A. Hiller
d46f66a056 Add KeyConfig doc comment
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-06-02 14:06:43 +02:00
Quentin Gliech
f63b466145 Allow applying unicode normalisation to passwords before hashing 2025-05-30 15:42:32 +02:00
Hugh Nimmo-Smith
aad2d8afb3 Merge branch 'main' into hughns/plan-management 2025-05-09 10:33:39 +01:00
Quentin Gliech
4d0bce9382 Make the default scope on upstream providers config openid 2025-05-07 15:34:30 +02:00
Doug
a826b99319 Update the login schema docs. 2025-05-07 10:21:40 +01:00
Doug
7f91c8948b Add a configuration for forwarding the login hint to the upstream provider. 2025-05-06 17:50:33 +01:00
Quentin Gliech
aba9ca38e6 Insert client_name when upserting statically registered clients (#4417) 2025-04-30 11:50:49 +02:00
Quentin Gliech
df7109364f Merge remote-tracking branch 'origin/main' into quenting/better-logging 2025-04-23 17:28:40 +02:00
Hugh Nimmo-Smith
57cc89a0c8 WIP support for experimental plan management tab in UI 2025-04-22 13:17:29 +01:00
Quentin Gliech
0792171f91 Move the synapse_idp_id field to the top of the provider section
This means that when serializing those, it will be at a more obvious place.
2025-04-18 18:25:46 +02:00
Quentin Gliech
a061db35d7 Make a few password-related options public in the config crate
It also adds docs to a few of those options
2025-04-18 18:24:35 +02:00
Quentin Gliech
3a8d4a1e8a Replace most remaining #[instrument(err)] annotations 2025-04-18 09:59:29 +02:00
Adis Veletanlic
5365e7a172 Fix clippy error 2025-04-16 13:04:25 +02:00
Adis Veletanlic
cae3edbc54 Skip serialization if not provided client_name 2025-04-16 12:58:55 +02:00
Adis Veletanlic
7890862500 Add client_name to static registrations function and generate new query data 2025-04-16 11:44:58 +02:00
Adis Veletanlic
1611bb652a Format project and run misc/update.sh 2025-04-14 13:41:43 +02:00
Adis Veletanlic
e43fc7b5a4 Fix indent 2025-04-14 12:22:13 +02:00
Adis Veletanlic
05ab1ec3a9 Add private_key_file option for apple sso and edit docs 2025-04-14 12:21:00 +02:00
mcalinghee
2fe4752aa4 add login by email + feature flag 2025-04-10 17:57:58 +02:00
Quentin Gliech
4f3dcc3a4b Expose more Sentry configuration (#4352) 2025-04-07 08:50:27 +02:00
hummingbard
204b7c54b5 Added Discord to default upstream oauth2 providers, regenerated config schema 2025-04-06 23:21:12 +06:00