LabKey and Tableau | A. Tyrell | 2016-11-08 09:31 | |||||||||||||||
Status: Closed | |||||||||||||||||
Is there a version of the Javascript API, that allows you to authenticate and access data outside of LabKey. "LabKey Server uses form-based authentication, by default, for all user-agents (ie browsers). However, it will correctly accept HTTP basic authentication headers if presented. I recommend using Basic Auth when programmatically accessing the server." I tried prepending the username and password to the hostname of the URL but I got the following message when I point the WebConnector tool from Tableau to a javascript export from a dataset with the credentials prepended... "Redirect from ... to ... has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8888' is therefore not allowed access." |
|||||||||||||||||
| |||||||||||||||||