Merge pull request #925 from halkeye/patch-2

Point to correct path for auth.html so completing sso login flow no longer 404s
This commit is contained in:
Krille-chan 2024-03-04 13:38:25 +01:00 committed by GitHub
commit c7cb3bff5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,7 +117,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
void ssoLoginAction(String? id) async {
final redirectUrl = kIsWeb
? '${html.window.origin!}/web/auth.html'
? '${html.window.origin!}/auth.html'
: isDefaultPlatform
? '${AppConfig.appOpenUrlScheme.toLowerCase()}://login'
: 'http://localhost:3001//login';