From 2bc480c6cfe1ec7a6e6ff5b14368f49fdab12e73 Mon Sep 17 00:00:00 2001 From: ashitsalesforce Date: Tue, 6 Feb 2024 13:51:11 -0800 Subject: [PATCH] comment regarding OAuth flow used for browser login comment regarding device flow, the OAuth flow used for browser login --- .../com/salesforce/dataloader/util/OAuthBrowserLoginRunner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/salesforce/dataloader/util/OAuthBrowserLoginRunner.java b/src/main/java/com/salesforce/dataloader/util/OAuthBrowserLoginRunner.java index 77db889e..f6597f16 100644 --- a/src/main/java/com/salesforce/dataloader/util/OAuthBrowserLoginRunner.java +++ b/src/main/java/com/salesforce/dataloader/util/OAuthBrowserLoginRunner.java @@ -99,6 +99,7 @@ private void retryBrowserLoginWithDefaultURL(Config config, boolean skipUserCode startBrowserLogin(config, skipUserCodePage); } + // Browser login uses OAuth 2.0 Device Flow - https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_device_flow.htm&type=5 private void startBrowserLogin(Config config, boolean skipUserCodePage) throws IOException, ParameterLoadException, OAuthBrowserLoginRunnerException { setLoginStatus(LoginStatus.WAIT); this.config = config;