Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

odata url with user authentication data #12

Open
aislanrs opened this issue Feb 18, 2019 · 1 comment
Open

odata url with user authentication data #12

aislanrs opened this issue Feb 18, 2019 · 1 comment

Comments

@aislanrs
Copy link

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.:

  • I also replaced "X-CKAN-API-Key" to "Authorization", but the same error persists.
  • As I'm already authenticated on navigator (chrome), I can visualize the xml that represents the OData url.
  • I already connected to the same OData url using Tableau and it works.
@jqnatividad
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants