okta / okta-oidc-android

OIDC SDK for Android
https://github.com/okta/okta-oidc-android
Other
60 stars 45 forks source link

Microsoft Edge is set as default and other browsers are present, Mobile app will attempt to load the login page using non-default browsers. #357

Open gopalp1709 opened 6 months ago

gopalp1709 commented 6 months ago

Describe the bug?

When Microsoft Edge is set as default and other browsers are present, Mobile app will attempt to load the login page using non-default browsers. In my case, it used Firefox, then Chrome, then Samsung Internet after uninstalling or disabling the other browsers. Samsung Internet cannot be uninstalled or disabled, so I was unable to test whether removing it would finally allow the use of Edge or simply pass over Edge to use Android System WebView.

What is expected to happen?

Okta login page need to open in default browser which is Microsoft Edge.

What is the actual behavior?

Okta login page opening in another non-default browser instead of Microsoft Edge.

Reproduction Steps?

Install Microsoft Edge on the android device. Make Microsoft Edge as default browser. Launch the mobile application which uses OKTA Web SDK for Authorization

Additional Information?

No response

SDK Version

Android 14 (Samsung OneUI 6.0) Build - UP1A.231005.007.S918U1UEU1BWK4 Baseband - S918U1UEU1BWK4 Service Provider Software Version - SAOMC_SM-S918U1_OYM_TMB_14_0015 (TMB/TMB,TMB/XAA) Carrier Configuration Version - 4.0.0 Android Security Patch Level - November 1, 2023 Kernel Version - 5.15.94-android13-8-27763874-abS918U1UEU1BWK4 #1 (Fri Nov 3 10:01:56 UTC 2023) SE for Android Status - Enforcing; SEPF_SM-S918U1_13_0001; Fri Nov 03 19:26:01 2023 Knox version Knox 3.10 Knox API level 37 Knox ML 1.4 DualDAR 1.6.0 HDM 3.0 - 115 Security Software Version MDF v3.3 Release 1 BT v1.0 Release 1 WLAN v1.0 Release 1 VPN Client v2.4 Release 2.0 ASKS v7.5 Release 20230718 ADP v3.1 Release 20230510 FIPS Boring SSL v1.7 FIPS SKC v2.3 FIPS SCrypto v2.7 SMR Nov-2023 Release 1 Google Play System Update - October 1, 2023 Browser and App Ingram Micro Xvantage app - v1.0.2 Microsoft Edge - v119.0.2151.92 (Default browser) Android System WebView - v119.0.6045.193 Google Chrome - v119.0.6045.193 Mozilla Firefox - v120.0.1 Samsung Internet - v23.0.1.1

Build Information

NA