I’m trying to implement Auth-flow based from the <...
# compose
a
I’m trying to implement Auth-flow based from the guidelines. Our auth is a multi-step process (Login/Signup -> Details -> 2FA), and I want to set the auth result as successful at the last step before popping the whole auth-flow. In the guide
previousBackStackEntry
is used, but I can’t use it in this case because I’m deep in the auth flow. Auth can be requested from multiple places so I can’t hardcode getting the specific backstack entry that invoked auth. Any ideas? I guess I could bubble up the result up to the caller but I’m wondering if there’s a better way…
1