Point to correct path for auth.html so completing sso login flow no longer 404s
This commit is contained in:
parent
f56758e1c4
commit
a0f82a2aba
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
||||||
|
|
||||||
void ssoLoginAction(String? id) async {
|
void ssoLoginAction(String? id) async {
|
||||||
final redirectUrl = kIsWeb
|
final redirectUrl = kIsWeb
|
||||||
? '${html.window.origin!}/web/auth.html'
|
? '${html.window.origin!}/auth.html'
|
||||||
: isDefaultPlatform
|
: isDefaultPlatform
|
||||||
? '${AppConfig.appOpenUrlScheme.toLowerCase()}://login'
|
? '${AppConfig.appOpenUrlScheme.toLowerCase()}://login'
|
||||||
: 'http://localhost:3001//login';
|
: 'http://localhost:3001//login';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue