0

Hi is there a way to Sign in in Data Loader when is Single Sign On activated in my organization? If so what would be the steps?

4

The answer saying it does not work is now outdated.

You can use single sign-on with Data Loader since version 36 if you have a custom domain (xyz.my.saleforce.com).

On the log in screen, choose OAuth, select the environment, press the Log in button, then click on the "Use custom domain" link, enter your custom domain, and you will be forwarded to your organisation's authentication page.

1

Short answer is no, especially using out-of-the-box (OOTB) dataloader functionality.

Here's a previous answer from @sfdcfox, which delves into more detail...

NOTE: All of these answers depend on the OOTB functionality. It is possible to adapt the Data Loader to perform all of these actions by using Java and importing the classes; this isn't an answer that covers that in-depth. There is an OSS version of ADL on GitHub, if you're so inclined.

GUI: Does Dataloader GUI work with SAML?

No, SAML requires browser interaction, which isn't built into the Data Loader.

GUI: Does Dataloader GUI work with Delegated Authentication?

Yes, DA is implemented on the server end, so as long as the user's enabled for DA, their password will be verified by the web service.

GUI: Must Dataloader GUI always prompt the user to type in a username / password to be used by Delegated Auth or can those values be passed as parameters to the executable or stored in a config file to be used when the app is launched (silently - not shown to the user)?

Yes, OOTB parameters are ignored for GUI invocations, at least as far as the documentation is concerned; while you could probably default the username, the password is apparently non-optional.

CLI: Does Dataloader CLI work with SAML?

No, you need browser interaction for SAML, so the same rules apply as the GUI here.

Does Dataloader CLI work with Delegated Authentication?

As for GUI, yes.

Does Dataloader CLI require a config file (process-conf.xml or similar) to be generated on the fly to contain the credentials for the Delegated Auth process or can the parameters be passed dynamically to the executable when the app is launched (silently - not written to disk)?

You can use name=value parameters, so you could supply a username and password via a batch file or script. However, the password must be encrypted, so some extra steps would have to be taken to encrypt the password before attempting this method. Supplying the values by command line is the same as placing the values in the config file, but won't be stored to disk.

SOURCE: Is it possible to use SSO with Dataloader?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.