Have ideas to improve npm?Join in the discussion! »

@inrupt/solid-client-authn-browser
TypeScript icon, indicating that this package has built-in type declarations

1.6.1 • Public • Published

Solid JavaScript authentication for the browser - solid-client-authn-browser

solid-client-authn-browser is a library designed to authenticate web apps (in the browser) with Solid identity servers. The main documentation is at the root of the repository.

Required polyfills

Our JavaScript Client Libraries use relatively modern JavaScript features that will work in all commonly used browsers, except Internet Explorer. However, one of the libraries we currently use expects some Node.js modules to be present, which must be polyfilled by the bundler. Here is the list of modules that need to be polyfilled:

  • crypto
  • stream
  • util
  • buffer

Prior to Webpack version 5 these modules were polyfilled by default, but that is no longer the case. See our Webpack configuration for packages that can provide the necessary polyfills.

Underlying libraries

solid-client-authn-browser is based on oidc-client-js. However, the latter lacks some features that are necessary to provide the developer experience we specifically want for the Solid ecosystem, so we developed oidc-client-ext to add these features.

Other Inrupt Solid JavaScript Libraries

@inrupt/solid-client-authn-browseris part of a family open source JavaScript libraries designed to support developers building Solid applications.

Inrupt Solid JavaScript Client Libraries

Data access and permissions management - solid-client

@inrupt/solid-client allows developers to access data and manage permissions on data stored in Solid Pods.

Authentication - solid-client-authn

@inrupt/solid-client-authn allows developers to authenticate against a Solid server. This is necessary when the resources on your Pod are not public.

Vocabularies and interoperability - solid-common-vocab-rdf

@inrupt/solid-common-vocab-rdf allows developers to build interoperable apps by reusing well-known vocabularies. These libraries provide vocabulary terms as constants that you just have to import.

Issues & Help

Solid Community Forum

If you have questions about working with Solid or just want to share what you’re working on, visit the Solid forum. The Solid forum is a good place to meet the rest of the community.

Bugs and Feature Requests

  • For public feedback, bug reports, and feature requests please file an issue via GitHub.
  • For non-public feedback or support inquiries please use the Inrupt Service Desk.

Prerequisite

The solid-client-authn libraries are compatible with NSS 5.3.X and higher.

Documentation

Keywords

none

Install

npm i @inrupt/solid-client-authn-browser

DownloadsWeekly Downloads

151,692

Version

1.6.1

License

MIT

Unpacked Size

4.47 MB

Total Files

287

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar