LDflex / Query-Solid

Simple access to data in Solid pods through LDflex expressions
https://solid.github.io/query-ldflex/
MIT License
66 stars 15 forks source link

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

Open marcvanandel opened 1 year ago

marcvanandel commented 1 year ago

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 ...