Skip to content

Commit 140ab7e

Browse files
reivilibresandhose
authored andcommitted
Remove obsolete OIDC provider warning
We now produce an error for unmapped OIDC providers!
1 parent 644686b commit 140ab7e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

crates/syn2mas/src/synapse_reader/checks.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,6 @@ pub fn synapse_config_check(synapse_config: &Config) -> (Vec<CheckWarning>, Vec<
140140
warnings.push(CheckWarning::DisableUserConsentAfterMigration);
141141
}
142142

143-
// TODO check the settings directly against the MAS settings
144-
for provider in synapse_config.all_oidc_providers().values() {
145-
if let Some(ref issuer) = provider.issuer {
146-
warnings.push(CheckWarning::UpstreamOidcProvider {
147-
issuer: issuer.clone(),
148-
});
149-
}
150-
}
151-
152143
// TODO provide guidance on migrating these
153144
if synapse_config.cas_config.enabled {
154145
warnings.push(CheckWarning::ExternalAuthSystem("CAS"));

0 commit comments

Comments
 (0)