I’m using the custom sign in method within a React Native app. After too many failed login attempts (believe 10 is the magic number), I would like to get the transaction status back to confirm a status of “LOCKED_OUT”.
Given how the signIn method is implemented, I’m unsure how to go about ‘catching’ the status once the signIn method throws the error, "Transaction status other than “SUCCESS” has been return, please handle it properly by calling “authClient.tx.resume()”
The authClient.tx.resume() call then throws “No transaction to resume”.
Guess my question is, using the okta-react-native SDK, how can I detect a locked account?