Point to correct path for auth.html so completing sso login flow no longer 404s

This commit is contained in:
Gavin Mogan 2024-03-04 00:34:58 -08:00 committed by GitHub
parent f56758e1c4
commit a0f82a2aba
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';