Solid login in chrome extension

In the latest version of WebClip, we manged to extend inrupt’s solid-authn-client-js to work based on chrome.identity.launchWebAuthFlow

All the code is in a dedicated module, so feel free to investigate. Perhaps it will become a library on it’s own one day.

Basically we introduced a custom redirector, the CromeExtensionRedirector that does the trick. All the other is mostly code boilerplate, to get it hooked up. This could be improved, if the inrupt library gets more customizable.

1 Like