I'm quite new to RX and I'm trying to understand how I can continue a task, after an error which requires user input.
A concrete example would be two factor authentication.. We have an auth-service and a protected resource. Logging in, we receive from the auth-service a LOA-2 (username&password used) token. trying to fetch data from the protected resource we receive an error stating we need LOA-3 (two-factor). So we have to get the input from the user, send it to the auth-service, get a new token (LOA-3) und retry our fetch call with the new token.
There are a lot of examples for logins, but I can't wrap my head around continuing a chain, which requires user input.
Any ideas? Thanks :)