Fireabse Authetication Listener


Currently, when utilizing Firebase Authentication (Auth -> Verify SMS code), I'm only able to direct the user to a successful page upon verification. However, there's no recourse available if the login fails. Is there a method to determine if the authentication is unsuccessful? Currently, the system automatically displays an invalid validation message over which I have no control.

Additionally, I aim to initiate the login function either upon completion or when the user clicks a button. Is it feasible to activate a button click event in FlutterFlow?