So here’s a bug I’ve come across. If you try to use the “Log the user in” function during the “Page is Loaded” or a “Do When Page Load is Complete”, it doesn’t give an error if it fails!
It should give an INVALID_LOGIN_CREDENTIALS workflow error code, but it doesn’t even throw an unhandled error.
The scenario I have is that that I’m passing a temporary password and username in a URL to log in the user in. And if either of those is wrong, it should trigger a response to the user, but it doesn’t work because the “Log The User In” function doesn’t work in the page load.
If I do the same function on a button once the page is loaded, everything errors out as expected.