We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf00ccb commit 00231aeCopy full SHA for 00231ae
1 file changed
libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/LoginViewModel.kt
@@ -146,7 +146,9 @@ open class LoginViewModel(val bootConfig: BootConfig) : ViewModel() {
146
147
internal val useWebServerFlow: Boolean
148
get() = with(SalesforceSDKManager.getInstance()) {
149
+ // Browser based authentication requires the Web Server flow for PKCE security.
150
(useWebServerAuthentication || isBrowserLoginEnabled)
151
+ // QR Code login may require User Agent flow.
152
&& !(isUsingFrontDoorBridge && frontdoorBridgeCodeVerifier == null)
153
}
154
0 commit comments