Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify example code showing setting solidFetcher #556

Merged
merged 2 commits into from
May 12, 2022

Conversation

ThisIsMissEm
Copy link
Contributor

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 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.
@jeff-zucker jeff-zucker merged commit c14dfd5 into linkeddata:main May 12, 2022
@jeff-zucker
Copy link
Contributor

LGTM, thanks for catching those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants