Azure-Samples/ms-identity-android-native

When AuthorizationAgent - WEBVIEW is used the view disappears

Opened this issue · 0 comments

Hi,

I would like to perform the entire oauth process with a browser instead of a webview, hence, i use AuthorizationAgent as the WEBVIEW. However, with mfa cases, we need to enter in a code, thus when i press the device home button to go fetch the code from the authenticator app, and i return back to the webview that gets loaded inside the application, it disappears. I have to tap on the sign in button again for me to enter in the code, but again, there could be chances the code might have been refreshed.

Is there a way to prevent the webview from going away i have paused my current activity?

please guide.

Thanks