Send CORS requests to SPARQL endpoint with credentials
jaw111 opened this issue · comments
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
- Add additional options in RAWGraphs UI where user can enter HTTP Basic credentials and use those to authenticate the request
- If the SPARQL endpoint gives a 401 response, then prompt user to enter credentials
Additional context
n/a