Parse a bloks login response. Extracts either a 2FA context token (when the response redirects to two_step_verification) or the login_response JSON literal (on success).
Pure function — no IO, testable with fixture data.
Parse a bloks login response. Extracts either a 2FA context token (when the response redirects to two_step_verification) or the login_response JSON literal (on success).
Pure function — no IO, testable with fixture data.