chore: Update redirect android scheme

This commit is contained in:
Christian Kußowski 2026-03-07 08:21:50 +01:00
commit e0c20f249b
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 5 additions and 4 deletions

View file

@ -21,7 +21,7 @@ Future<void> oidcLoginFlow(
Logs().i('Starting Matrix Native OIDC Flow...');
final redirectUrl = kIsWeb
? Uri.parse(html.window.location.href.split('#').first.split('?').first)
: (PlatformInfos.isMobile || PlatformInfos.isWeb || PlatformInfos.isMacOS)
: (PlatformInfos.isMobile || PlatformInfos.isMacOS)
? Uri.parse('${AppConfig.appOpenUrlScheme.toLowerCase()}:/login')
: Uri.parse('http://localhost:3001/login');