jqnatividad / ckanext-odata

CKAN OData support to connect to tools like Tableau
GNU Affero General Public License v3.0
6 stars 7 forks source link

odata url with user authentication data #12

Open aislanrs opened 5 years ago

aislanrs commented 5 years ago

Hi.

How can I set my user authentication though the http request from a OData url?

I've trying to make Excel connect (via OData feed) to a ckan's odata url but I always receive a "404 error". I've used both sintaxes, as following:

1) http://opendata.sicredi.net/datastore/odata3.0/4f9ee621-ff16-49d2-b3d0-f07e23b5b2c7?id=[my user]&X-CKAN-API-Key=[my token]

2) http://opendata.sicredi.net/datastore/odata3.0/4f9ee621-ff16-49d2-b3d0-f07e23b5b2c7 id=[my user] X-CKAN-API-Key:[my token]

P.S.:

jqnatividad commented 3 years ago

Will add support for CKAN API keys as url params, but only for CKAN sites with an SSL certificate.