I am migrating hosted redash from app.redash.io to self hosted version. While migrating to latest version of redash, it has the CSV option as a data source but it does not have Authentication parameters.
Sorry this slipped past my radar. Thanks for bumping the topic.
It’s not possible with the csv query runner in Redash V10. We should add this.
Meanwhile, we did open source the old CSV query runner here. You can add it to your instance by duplicating the file in the redash/query_runner directory and adding it to the default_query_runners setting in redash/settings/__init__.py. If you need help with this please send me a message.
I made the changes that you suggested in docker image directly. After changes, I restarted the docker container and I can see the CSV from Url data source in list.
This is little off topic but related to CSV as I’m trying to make csv queries work with some work-around.
I setup a proxy API that works without requiring authentication but now, the Redash CSV query is not working for an API endpoint. It works fine on when I hit it from browser or Postman.
The query_results API is returning Forbidden response.
url: "CSV_ENDPOINT"
user-agent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36"