Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ a [Node Solid Server](https://github.com/solid/node-solid-server/).
**⚠️ New projects should use [solid-client-authn](https://github.com/inrupt/solid-client-authn-js)
or [solid-auth-fetcher](https://github.com/solid/solid-auth-fetcher) instead,
which leverage the secure DPoP authentication mechanism
from the current [Solid specification](https://solid.github.io/authentication-panel/solid-oidc/),
from the current [Solid specification](https://nodeSolidServer.github.io/authentication-panel/solid-oidc/),
as implemented by [all the various Solid server implementations](https://github.com/solid/test-suite).**

## Usage
In the browser, the library is accessible through `solid.auth`:
```html
<script src="https://solid.github.io/solid-auth-client/dist/solid-auth-client.bundle.js"></script>
<script src="https://nodeSolidServer.github.io/solid-auth-client/dist/solid-auth-client.bundle.js"></script>
<script>
solid.auth.trackSession(session => {
if (!session)
Expand Down