0.0.3 • Published 10 months ago
@graffiti-garden/solid-oidc-interface v0.0.3
Graffiti Solid OIDC Interface
This implements the login methods of the Graffiti API
using Solid OIDC.
When an application calls graffiti.login(), a dialog opens up that allows the user to log in either
locally (for demoing/testing) or with a Solid OIDC provider.
The actor IDs produced from Solid login are webIds that start with http, while
actor IDs produced from local login will not.
Currently, it is only meant to be used in the browser, but at some point it will be extended to use @inrupt/solid-client-authn-node to work in node.js as well.
Development
Install and build the package as follows:
npm install
npm run buildThen you can run the demo by running:
npx http-serverand navigating to localhost:8080/demo.