Skip to content

Commit

Permalink
Merge pull request #1289 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
fix bug in showing thick client UI for OAuth based authentication
  • Loading branch information
ashitsalesforce authored Sep 29, 2024
2 parents 1e94ca4 + f5b221b commit a682658
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 @@ -1635,6 +1635,7 @@ public void setOAuthEnvironment(String environment) {
String envSpecificOAuthRedirectURI = getOAuthEnvironmentString(environment, OAUTH_PARTIAL_REDIRECTURI);
String redirectURI = "";
if (envSpecificOAuthRedirectURI != null
&& !envSpecificOAuthRedirectURI.isBlank()
&& !envSpecificOAuthServerURL.contains(Config.DEFAULT_ENDPOINT_URL_SANDBOX)
&& !envSpecificOAuthServerURL.contains(Config.DEFAULT_ENDPOINT_URL_PROD)) {
redirectURI = envSpecificOAuthRedirectURI;
Expand Down

0 comments on commit a682658

Please sign in to comment.