add dsp-auth-wrapper in preparation for the dsp connector#107
Merged
Conversation
3988c3f to
4a4a8b9
Compare
mirdono
approved these changes
May 27, 2026
Member
mirdono
left a comment
There was a problem hiding this comment.
Tested and works as expected (after some messing around to send a correct request)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This add some example content to the restricted graph
<http://mu.semte.ch/graphs/organizations/353234a365664e581db5c2f7cc07add2534b47b8e1ab87c821fc6e6365e6bef5/Decide-gebruiker>that people can get access to through the VC or the dsp-auth-wrapper service.It also adds a scope for that service and grants read access to public, the organizations graph and read and write access to the session graph for that service.
When activating this service, one should be able to follow the setup in the dsp-auth-wrapper service to configure a proper api key and then send a sparql query using
POST http://localhost/api/private/sparql. When asking for the example data in the private graph, the public sparql endpoint should return an empty resultset, while the private sparql endpoint should return the correct triples.