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

Send CORS requests to SPARQL endpoint with credentials #348

Open
jaw111 opened this issue Feb 24, 2022 · 0 comments
Open

Send CORS requests to SPARQL endpoint with credentials #348

jaw111 opened this issue Feb 24, 2022 · 0 comments

Comments

@jaw111
Copy link

jaw111 commented Feb 24, 2022

In which part of the interface would this feature applies?

[x] 1. Load your data
[ ] 2. Choose a chart
[ ] 3. Mapping
[ ] 4. Customize
[ ] 5. Export

Is your feature request related to a problem? Please describe.

I'm trying to load data from a private SPARQL endpoint, but the request from RAWGraphs is not correctly authenticated and the endpoint responds with a 401 Authorization Required status. I am already authenticated against the endpoint and have a session token set in my cookies, but those are not sent on cross-origin requests from RAWGraphs.

Describe the solution you'd like

Include send user credentials (cookies, basic http auth, etc..) for cross-origin calls from RAWGraphs.

Describe alternatives you've considered

  1. Add additional options in RAWGraphs UI where user can enter HTTP Basic credentials and use those to authenticate the request
  2. If the SPARQL endpoint gives a 401 response, then prompt user to enter credentials

Additional context

n/a

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

1 participant