Skip to content

Commit b37c7ab

Browse files
committed
Fixed callback URLs
1 parent 760ff1a commit b37c7ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/account.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class Account extends Service {
305305
/// first. Use the success and failure arguments to provide a redirect URL's
306306
/// back to your app when login is completed.
307307
///
308-
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'}) {
308+
Future createOAuth2Session({@required String provider, String success = 'https://appwrite.io/auth/oauth2/success', String failure = 'https://appwrite.io/auth/oauth2/failure'}) {
309309
final String path = '/account/sessions/oauth2/{provider}'.replaceAll(RegExp('{provider}'), provider);
310310

311311
final Map<String, dynamic> params = {

0 commit comments

Comments
 (0)