Skip to content

Commit

Permalink
comment regarding OAuth flow used for browser login
Browse files Browse the repository at this point in the history
comment regarding device flow, the OAuth flow used for browser login
  • Loading branch information
ashitsalesforce committed Feb 6, 2024
1 parent cd06955 commit 2bc480c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2bc480c

Please sign in to comment.