So, what action do you have on “Next” button on the screen to the left? Is it “Log in the user”?
No, the left screen is just a link to the right screen and generates an OTP code.
Or you’re trying first to collect all the info (i.e. login, password) on the left screen, and then on “Verify” button on the “right” screen you have an action “Log in the user” based on the fields from “left” screen, and you try to show the button based on “Count” filter on “Login Verification Codes” collection?
This is exactly right, only there is no count filter and the Verify button is only visible when the input field matches the OTP.
What stops you from taking email from the input box on the 1st screen?
This is what I’m trying to do, but unfortunately it doesn’t log the user in, it’s as though the email address is used for sending the verification email and then becomes nullified, and cannot be used for anything else. I had the same thing on the sign up screens (when I tried to pull it through to create a user it would create the account but leave the email blank) but after rebuilding it a couple of times it eventually worked - now Im too scared to edit anything on the screen in case it breaks, even though it doesn’t display some text on the screen for an unknown reason!
I’m not sure I’ve 100% got my head around your solution, but it does appear elegant. Would a user have to then do an OTP check everytime they opened the app? This may too much of a hinderence…I only want to do it on sign up and login. How do you make it automatically skip a screen?
Thanks for your help.