Skip to main content

#Password3 personnes en discutent

Ramandra Yadav a posé une question dans #OAuth 2.0

We are performing a migration from a legacy Salesforce Username-Password OAuth integration to an External Client App using Client Credentials. To validate migration behavior, we need the org-wide setting "Allow OAuth Username-Password Flows"

enabled in our org. Could Salesforce Support confirm whether this setting can be enabled, whether any feature flags are required, and whether there are edition-specific restrictions preventing its availability? 

 

#OAuth 2.0  #Usernames  #Password  #Flows  #External Application

2 réponses
  1. 19 août, 16:55

    Hey Ramandra, 

     

    Himanshu's answer is accurate and matches what's actually being reported. Real-world evidence backs this up: even after explicitly turning on "Allow OAuth Username-Password Flows," users are still getting a "Username-Password Flow Disabled" error, confirming the toggle alone doesn't guarantee the flow will work, Salesforce's platform-level retirement enforcement can override it regardless of your org setting. 

     

    So to your three original questions: 

    - The setting existing and being toggleable doesn't mean the flow will actually function, this is confirmed behavior people are hitting even now 

    - Whether Support can override this for validation purposes is genuinely a case-by-case Support/AE conversation, not something the community can confirm 

    - Not edition-specific, it's the platform-wide retirement, not a licensing tier restriction 

     

    Practical suggestion: since you're already building the Client Credentials integration, validate it independently rather than trying to get the legacy flow re-enabled for a side-by-side. Compare against logs/behavior from your old integration instead of live-running both simultaneously, that avoids being blocked by something Salesforce is actively phasing out. 

     

    Reference:

    https://help.salesforce.com/s/articleView?id=xcloud.remoteaccess_oauth_username_password_flow.htm&language=en_US&type=5

0/9000

Hi Folks,

 

Any one worked with tabjolt 2019.1 ? I am trying to enter my TSM Login domain name as a final step of tabjolt installation but i am getting incorrect username and password.

 

But i can login to my TSM with no issues.

I can never surpass this step for tabjolt. Any one who has successful configured for 2019.1 ?

 

Thank you !

 

Regards

Satish

3 réponses
  1. 30 juin 2019, 23:38

    I was able to get it up and running.

     

    I was change the required files in the config folder in tabjolt and was able to execute the custom scripts , get the postgres respository created and log in results . One thing would be handy is to have Java installed before hand set Environment Variables which can help you save some time.

     

    This should be of great help.

     

    Introducing TabJolt: A point-and-run load and performance testing solution for Tableau Server | Tableau Software

0/9000

Hi there,

 

I implemented a WDC which combines some queries from JSON Web APIs that are hosted in our intranet. As this was my first WDC, I made the mistake to stick to the Simulator for most of the development time and there it all worked well. But I met a problem when I later tried to use the WDC directly in the Tableau Desktop:

 

Network Error: 204 (Host requires authentication)

 

The message in the brackets is actually correct. The Web APIs require authentication scheme Kerberos or NTLM ("negotiate"). That's why I call the APIs something like this:

 

$.ajax({

   url: someUrl,

   dataType: "json",

   crossDomain: true,

   xhrFields: {

     withCredentials: true

  }, ...

 

This works alright in the Simulator in Chrome (even IE) but it throws the 204 error in the WDC browser in Tableau Desktop (10.4.3). I really couldn't find any similar issues in the Community or the www in general, that's why I'm asking here: Am I missing some configuration setting here or is the thing I'm trying not supported?

 

Kind Regards,

Marcel

5 réponses
  1. 16 avr. 2018, 13:09

    Tableau Desktop is only able to call authentication that is within the WDC itself (as documented at https://tableau.github.io/webdataconnector/docs/wdc_authentication). Any authentication prior to the WDC cannot be called through Tableau Desktop.

    The reason of the difference observed when using the WDC Simulator (calls authentication pop-up) and Tableau Desktop (does not call authentication pop-up, and fails to connect) is that the simulator runs through a browser and has all the capabilities of the browser, including different approaches to authentication. Tableau Desktop itself has limited browser capabilities. The simulator is intended to be a tool to help with debugging WDC code, as opposed to a full replication of the WDC function.

     

    In order to be able to connect Tableau Desktop to a target using SSO via WDC, the best course of action would be to move the authentication into the WDC itself and ensure that no other authentication requests occur before Tableau Desktop connects to the WDC.

    If the above is not an option, please see k504866430 comment in https://github.com/tableau/webdataconnector/issues/160 . Basically Tableau can be programmed to capture the username, password and then construct the 'Authorization' header in javascript ajax request. for example:

     

    fetch(url, {

    method: 'GET',

    headers: {'Authorization' : btoa($('⌗username').value + ":" + $('⌗password').value)} });

     

    Should work.

0/9000
2 réponses
0/9000

Hi,

I would like to know if the tabcmd publish operation can also have errors.

I created a script that appends approximately 10GB of data.

I've been using this script for about 7 months and I've never experienced any problems.

I checked the execution process of the script with my eyes and even checked that the command window was closed, but the data was not applied on the tableau server.

Can this happen?

The script used is as follows and the problem occurs only tabcmd publish's line.

chcp 65001

tabcmd login -s ⌗address -u ⌗ID -p ⌗PASSWORD

tabcmd get ...

tabcmd publish ⌗local_path -n ⌗NAME -r ⌗PROJECT_NM --append

echo 'completed'

 

Thank you.

4 réponses
  1. 22 juin 2023, 02:18

    Hello @Ciara Brennan​ 

    I solved this problem by dividing the file into two.

    And recently I had other problems with tabcmd publish. So I have 2 questions about tabcmd append.

     

    At first, I would like to know the general case where tabcmd append fails.(ex. data shapes or column names are different each other)

    Secondly, I wonder if it is possible to fail to append a file that is a big size of data.

     

    I also have some uncomfortable cases when I execute tabcmd publish through the batch file.

     

    The first case is that the modified time of the data source had been changed too late sometimes although the tabcmd publish batch file is completed. Especially this happens when I append over 10GB of data. I guess it took about 2 to 5 minutes.

     

    The second case is that I everyday append 18GB of data using a batch file(about publish(append) of tabcmd) with the window scheduler. Sometimes, however, it has a fail once about every three months.

0/9000

Hi, I have been given a combination of HOST, PORT, Username and Password for a SFTP connection and an SSHPASS to connect to a SFTP server. I am unaware of how we can use the SSHPASS in the connector config. 

 

So, I have the below details:

USER=<username>

HOST=<host domain/IP>

Port-<port>

#PASSWORD=<password for the user>

export SSHPASS=<Its just a alphanumeric passcode.>

 

I tried using a SFTP client and the username and password doesnot work and I cant find a way to use the SSHPass even there. Need help in understanding if this is possible to do in SFTP through Mule 4. Any help will be appreciated.

1 réponse
  1. 29 janv. 2021, 08:47

    Hi @Sucharita Das​ 

     

    If I am not wrong then you are talking about using the Passphrase along with SSH file.

    The you get an option in SFTP to do that.

     

    Save you file in the src/main/resource folder and then in SFTP do the below config:

    Hi @Sucharita Das​ If I am not wrong then you are talking about using the Passphrase along with SSH file.The you get an option in SFTP to do that.Provide the Host, Port, Username, In Identity file provide the location where you shaved the file along with the file name (src/main/resource/<filename>), in Passphrase give the key you have for passphrase.

     

    Regards,

    Abhishek Bathwal

0/9000