From b37c7ab724ae112e410493f4d15e9f8a15d4ece6 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Sun, 17 May 2020 21:44:23 +0300 Subject: [PATCH] Fixed callback URLs --- lib/services/account.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/account.dart b/lib/services/account.dart index 0ae6022..b191791 100644 --- a/lib/services/account.dart +++ b/lib/services/account.dart @@ -305,7 +305,7 @@ class Account extends Service { /// first. Use the success and failure arguments to provide a redirect URL's /// back to your app when login is completed. /// - Future createOAuth2Session({@required String provider, String success = 'https://192.168.1.102/auth/oauth2/success', String failure = 'https://192.168.1.102/auth/oauth2/failure'}) { + Future createOAuth2Session({@required String provider, String success = 'https://appwrite.io/auth/oauth2/success', String failure = 'https://appwrite.io/auth/oauth2/failure'}) { final String path = '/account/sessions/oauth2/{provider}'.replaceAll(RegExp('{provider}'), provider); final Map params = {