-
Notifications
You must be signed in to change notification settings - Fork 57
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
Accept access_token provided via header. #1691
Comments
AFAICT, this will be necessary to support authenticated requests with body. Queries too |
@Qup42 my understanding is that basic auth requires user id, so it is base64(user_id:password). Bearer is used not only with OAuth, de-facto it is a standard way to provide some kind of a token/password, e.g see openai api - https://platform.openai.com/docs/api-reference/authentication or github api - https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api?apiVersion=2022-11-28 I'm fine with both, I think you can have some hard-coded username and then use basic auth. jfyi, one thing to keep in mind when implementing basic auth is the fact that some libraries and tools (like wget) expect a full basic auth challenge-respnose flow. |
Something like:
it would make it more convenient to use with libraries like RDF4J.
The text was updated successfully, but these errors were encountered: