Skip to content

Commit b302878

Browse files
@W-19628153: [Android][QRCode] When Auth Config "Use the native browser for user authentication on Android" is enabled users logging in via QR code still challenged with browser login (#2764)
1 parent b89ee3e commit b302878

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/LoginActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ open class LoginActivity : FragmentActivity() {
311311
with(SalesforceSDKManager.getInstance()) {
312312
// Fetch well known config and load in custom tab if required.
313313
fetchAuthenticationConfiguration {
314-
if (isBrowserLoginEnabled) {
314+
/* Browser-based authentication is applicable when not authenticating with a front-door bridge URL */
315+
if (isBrowserLoginEnabled && !viewModel.isUsingFrontDoorBridge) {
315316
if (useWebServerAuthentication) {
316317
viewModel.loginUrl.value?.let { url -> loadLoginPageInCustomTab(url, customTabLauncher) }
317318
} else {

0 commit comments

Comments
 (0)