[Archive] Users cannot sign out, firebase flutter cyan network

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by maseh on 6/7/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.


We get this error when signing out a user.
It was working before and we haven’t changed anything. This is on the cyan network on production. @shahbaz

image
image770Ă—1540 46 KB

Here is our sign out code. Users cannot sign out.

Future<void> signOut() async {
  try {
    // Clear private key
    SharedPreferences preferences = await SharedPreferences.getInstance();
    final pk = preferences.get("privateKey");
    if (pk != null && pk != "") await Web3AuthFlutter.logout();
    await preferences.clear();
// Clear FCM token
String? token = await FirebaseMessaging.instance.getToken();
if (token != null) {
  await deleteToken(token);
}

await FirebaseAuth.instance.signOut();

} catch (e) {
logger.e(e);
showSnackBar(“An unexpected error has occured”);
}
}```

@maseh Thanks for your patience.

Your issue has been submitted to our team. We will get back with further updates once more information becomes available.

Hello @maseh,

Please accept my apologies for the delay in responding to you. I was wondering if there is any way for us to replicate or test this situation?