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

Provide ability to connect to password-protected SPARQL endpoints #187

Closed
tfrancart opened this issue Oct 15, 2020 · 1 comment
Closed
Labels
kind: Enhancement 📈 New feature or request what: Configuration Related to how the component is configured

Comments

@tfrancart
Copy link
Contributor

It is possible to add an Authentication header in YASGUI:

      const yasqe = new Yasqe(document.getElementById("yasqe"), {
        requestConfig: { 
            endpoint: $('#endpoint').text()

            // headers: () => ({
            //  'Authorization': 'Basic ' + btoa(unescape(encodeURIComponent('LOGIN' + ':' + 'PASSWORD')))
            // })
        },
        copyEndpointOnNewTab: false  
      });

But how do we provide the same header to the autocomplete and list handlers ?

@tfrancart tfrancart added what: Configuration Related to how the component is configured kind: Enhancement 📈 New feature or request labels Oct 15, 2020
SteinerPascal added a commit that referenced this issue Feb 27, 2023
tfrancart added a commit that referenced this issue Jun 20, 2023
@tfrancart
Copy link
Contributor Author

Done in #517

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: Enhancement 📈 New feature or request what: Configuration Related to how the component is configured
Projects
None yet
Development

No branches or pull requests

1 participant