Skip to content

Commit

Permalink
fix flutter web oauth issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar authored Jan 9, 2023
1 parent 8958ccf commit a983eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/flutter/lib/src/client_browser.dart.twig
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
Future webAuth(Uri url, {String? callbackUrlScheme}) {
return FlutterWebAuth2.authenticate(
url: url.toString(),
callbackUrlScheme: callbackUrlScheme ?? "appwrite-callback-" + config['project']!,
callbackUrlScheme: "appwrite-callback-" + config['project']!,
);
}
}

0 comments on commit a983eb3

Please sign in to comment.