When the flow starts, the browser opens, I select an account, and it keeps showing:
"""
Page not found
The page you're looking for doesn't exist.
general_route_not_found
"""
Although the message remains displayed in the browser, the user appears in the Console.
The URL is: https://nyc.cloud.appwrite.io/console/auth/oauth2/success?project=the-recipes&domain=.nyc.cloud.appwrite.io&key=a_session_the-recipes&secret=
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application ...>
<!-- ... -->
<activity android:exported="true" android:name="com.linusu.flutter_web_auth_2.CallbackActivity" >
<intent-filter android:label="flutter_web_auth_2">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="appwrite-callback-the-recipes" />
</intent-filter>
</activity>
<!-- ... -->
</application>
</manifest>
appwrite: 17.0.0
import "package:appwrite/enums.dart" as enums;
Future<void> signInWithGoogle() async {
try {
EasyLoading.show(status: "auth_controller.signing_in".tr);
await _account.createOAuth2Session(
provider: enums.OAuthProvider.google,
);
await _checkCurrentUser();
EasyLoading.dismiss();
} on AppwriteException catch (e) {
EasyLoading.dismiss();
print("Appwrite error: ${e.code} - ${e.message}");
EasyLoading.showError("auth_controller.sign_in_error".tr);
} catch (e) {
EasyLoading.dismiss();
print("General error: $e");
EasyLoading.showError("auth_controller.sign_in_error".tr);
}
}
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Create a new paid tier
Current pricing seems reasonable enough about what is someone getting for 25$. But for some people most of these resouces are getting wasted. Like the bandwidt...