In the @inrupt/solid-client-authn-browser SDK, we always expose a fetch method, so you don't need to set solidFetcher only after login, you can do this before and it'll switch based on whether you're logged in or not — by default the fetch method uses global fetch until the session is established, at which point it switches to fetch with authorization and dpop headers.
In the
@inrupt/solid-client-authn-browser
SDK, we always expose afetch
method, so you don't need to setsolidFetcher
only after login, you can do this before and it'll switch based on whether you're logged in or not — by default thefetch
method uses global fetch until the session is established, at which point it switches to fetch with authorization and dpop headers.