Realm unconfirmed user login error


I’ve been working on a Flutter app that uses Realm for authentication. I’m facing an issue where when I’m trying to login with email and password and I use anything but a valid pair of email and password ( wrong password, unconfirmed account) I’m getting a ‘401 Unauthorized’ error.

I was using the different error messages to handle the errors on the UI before and it worked fine but now they all return the same irrelevant error so that isn’t working anymore.

The authentication is configured correctly, I can login if I use valid credentials, I can create new accounts, all of that seems to work fine so I was wondering if there were some breaking changes in how the errors are handled that I was not aware of.

Thanks a lot!