Ready to post? First, try searching for your answer.
Description of the workflow: We are create a web session and saving our session details in the cookies. After creating the web session, the auth0.webAuthentication() method is called then a browser window will open where it uses the saved cookies. After completing this process, we will get the access token from Auth0. This is the actual expected behaviour and the flutter iOS app works as same. Even creating the web session and auth0.webAuthentication() in the same browser tab in android devices, we are facing the issue where Auth0 can’t able to use the saved web session cookies and not responding which results in closing the web window with an error message as mentioned below.
https://drive.google.com/file/d/10L652Tn0TQ3Yzt4dUQfz7VJnb_w8YnwB/view?usp=share_link
PlatformException(a0.authentication_canceled, The user closed the browser app and the authentication was canceled., com.auth0.android.authentication.AuthenticationException: An error occurred when trying to authenticate with the server.
at com.auth0.android.provider.OAuthManager.resume(OAuthManager.kt:81)
at com.auth0.android.provider.WebAuthProvider.resume(WebAuthProvider.kt:77)
at com.auth0.android.provider.AuthenticationActivity.deliverAuthenticationResult$auth0_release(AuthenticationActivity.kt:94)
at com.auth0.android.provider.AuthenticationActivity.onResume(AuthenticationActivity.kt:58)
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1564)
at android.app.Activity.performResume(Activity.java:8474)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4763)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4806)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:57)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:179)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2306)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7918)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
, null)