Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android auth web session terminates when opening other apps #158

Open
AdamAH opened this issue Jul 31, 2023 · 3 comments
Open

Android auth web session terminates when opening other apps #158

AdamAH opened this issue Jul 31, 2023 · 3 comments

Comments

@AdamAH
Copy link

AdamAH commented Jul 31, 2023

Hi there,

We're facing a weird Android only issue where when the webview opens up to initiate the auth session, the user gets sent an OTP, so they open their email app like Gmail, and when they return back to our app the webview is closed. We noticed that when you tap on the "App Selector" on android to see all active apps, the webview (chrome custom tab) shuts down, and doesnt persist.

How do we stop that from happening as users need to access their emails to get the OTP, then return to our app to input it?

Thanks!

@adminant
Copy link

Same problem, do you have an idea to fix it? I tried to rewrite custom tabs code in plugin, and managed to run browser that is not closed when switching apps, but it persists as a separate app in app selector, and user can return to main app, which leads to auth error.

@ScottAtRedHawk
Copy link

I'm seeing this issue as well when users have to leave the authenticating app to approve a DuoMobile MFA request. Any fixes yet?

@ruan65
Copy link

ruan65 commented Jul 29, 2024

I am also interested in solving the problem,
while I switch to check the code in the email, the auth window closed after returning to the app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants