Query-Solid icon indicating copy to clipboard operation
Query-Solid copied to clipboard

Incorporate and update to latest Solid auth lib [@inrupt/solid-client-authn-browser]

Open marcvanandel opened this issue 1 year ago • 0 comments

This lib still uses the solid-auth-client dependency ... but this is for legacy only!

Quoted from nodeSolidServer/solid-auth-client

⚠️ New projects should use solid-client-authn or solid-auth-fetcher instead, which leverage the secure DPoP authentication mechanism from the current Solid specification, as implemented by all the various Solid server implementations.

Quoted from inrupt/solid-client-authn-js

solid-client-authn is a suite of libraries to manage the authentication required to access protected resources on Solid servers. The libraries share a common API and include different modules for different deployment environments:

  • solid-client-authn-browser can be used to build web apps in the browser.
  • solid-client-authn-node can be used to build server-side and console-based apps.

The solid-client-authn-browser would be the default used dependency for this library, I assume?

To do so, all dependencies need to be updated as well ... which will break many contracts 😬 This will not be an easy fix ...

marcvanandel avatar Apr 06 '23 14:04 marcvanandel