Skip to content

Commit

Permalink
Merge pull request #1288 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
Fix bug that breaks browser-based OAuth
  • Loading branch information
ashitsalesforce authored Sep 29, 2024
2 parents 12fab35 + 89fd436 commit 1e94ca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/salesforce/dataloader/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -1625,6 +1625,7 @@ public void setOAuthEnvironment(String environment) {
}
String envSpecificOAuthServerURL = getOAuthEnvironmentString(environment, OAUTH_PARTIAL_SERVER);
if (envSpecificOAuthServerURL != null
&& !envSpecificOAuthServerURL.isBlank()
&& !envSpecificOAuthServerURL.contains(Config.DEFAULT_ENDPOINT_URL_SANDBOX)
&& !envSpecificOAuthServerURL.contains(Config.DEFAULT_ENDPOINT_URL_PROD)) {
endpointURL = envSpecificOAuthServerURL;
Expand Down

0 comments on commit 1e94ca4

Please sign in to comment.