LogOut success but state is still LoggedIn

hi, I’m new to MongoDB Realm.

I’m building an application that allows user to Login with Facebook

The Login is OK, but when I try to Log Out, the callback is success but the currentUser’s state is still Logged In. (follow the documentation, the state has to change to LoggedOut or Removed)

Here is the logout code:


  • iOS 14.2
  • Realm 10.5.1