chore: Put oidc behind a feature flag until fixed

This commit is contained in:
Christian Kußowski 2026-02-25 12:33:59 +01:00
commit 1ea607f633
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 2 additions and 1 deletions

View file

@ -48,7 +48,7 @@ Future<void> connectToHomeserverFlow(
if (consent != OkCancelResult.ok) return;
}
if (authMetadata != null) {
if (authMetadata != null && AppSettings.enableMatrixNativeOIDC.value) {
await oidcLoginFlow(client, context, signUp);
} else if (supportsSso) {
await ssoLoginFlow(client, context, signUp);