Question: authenticate on batch mode without user interaction #737
|
Hello, we're using DL being called from PowerShell scripts (that is, DL "batch mode" with "process conf" XML file definitions) and whenever it processes a "bean" it shows up the browser asking to authenticate. Is there a way to configure only once a Connected App together DL so everytime DL runs it would already know the necessary credentials? Hence, allowing a better automated integration without user interaction? Thank you in advance! |
Replies: 4 comments
|
Hi, yes... But the thing is, the Org is configured with SSO Login, so unfortunately we can't use regular credentials username+password I'm afraid. |
|
Hi @fmertins , A customer had a similar issue. They wrote a wrapper script that gets the OAuth access token from the IdP and passes the access token to data loader as a command line option |
|
We'll take a look at that approach, thanks a lot!! |
Hi @fmertins ,
A customer had a similar issue. They wrote a wrapper script that gets the OAuth access token from the IdP and passes the access token to data loader as a command line option
sfdc.oauth.accesstoken. Will a similar approach work for you?