
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
- Sharing cookies
Hi, I’m using Appwrite Cloud, and I have a setup where my Appwrite backend is hosted on a subdomain (e.g., api.example.com), while my frontend (Next.js app) and...
- Custom Domain Issue
i have added a custom domain about 21 hours ago, but till now there is no SSL certificate is active on it. but if i do DNS check via https://dnschecker.org/#C...
- Organization not exists anymore
Hello! We have a problem with a cloud database. We are on the Free plan, but after a refresh the site wants me to create a new organisation, and I not see the c...
