The Solid-Ctrl App provides an interface for Solid JS Applications
to authenticate to remote Solid resources. That is when an application
receives a 40x response from a resource with an
WWW-Authenticate: HttpSig
header as defined in
HttpSig
it can pass the response and the desired request to the library which will
- fetch the remote Web Access Control (WAC) Document for that resource
- find out from the WAC doc if it has the required keys to sign the message
- if it has the key (and no policy stops it signing such a request for that JS client) it can sign the specific request
This library could be used directly by any App. But since not every App should have the trust of a user, there needs to be a trusted Solid-Ctrl App that can create asymmetric key-pairs, publish them to the user's POD and do the signing for the end user following policies allowed by the user (expressible using the WAC ontology we believe)
The details initial demonstration of how this can work are detailed in the Launcher App project.
This library currently contains a Scala-JS wrapper for a number of Turtle-like language parsers, and these will need to be moved to banana-rdf at some point.
You should make sure that the following components are pre-installed on your machine:
in sbt shell: fastOptJS::webpack
or fullOptJS::webpack
In sbt shell, run dev
. Then open http://localhost:8080/
in your browser.
This sbt-task will start webpack dev server, compile your code each time it changes
and auto-reload the page.
webpack dev server will close automatically when you stop the dev
task
(e.g by hitting Enter
in the sbt shell while you are in dev
watch mode).
If you exited ungracefully and your webpack dev server is still open (check with ps -aef | grep -v grep | grep webpack
),
you can close it by running fastOptJS::stopWebpackDevServer
in sbt.
This work was made possible by the generous EU grant from nlnet for the Solid Control Project. That project is to end in January 2022.
If you wish this project to progress faster please contact [email protected] or leave issues in the Issue DataBase.
We are looking for further funding opportunities to continue the work.