Firebase Authentication Issue

Hello,

I’m using Firebase Authentication in my app. I want the app to automatically log out users if their account is deleted or blocked in Firebase.

I created the attached block, but it doesn’t work as expected. Even after deleting or blocking an account in Firebase, the app doesn’t detect the change.

How can I ensure the app checks the account status in real-time and logs the user out automatically?

Thank you!