1.4.1 • Published 7 months ago

@plusauth/oidc-client-js v1.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

@plusauth/oidc-client-js

OpenID Connect (OIDC) and OAuth2 library for browser based JavaScript applications.

Features

  • Silent Authentication
  • Automatic Access Token Renewal
  • OAuth 2.0 Token Revocation
  • Session Management (with logout functionality)
  • PKCE
  • JWT payload validation
  • Can be used with any OAuth 2.0 / OpenID Connect provider
  • Cross tab/window login synchronization
  • Dispatches single request per tab/window to prevent inconsistency
  • Official TypeScript support

Table of Contents

Installation

From the CDN:

⚠ NOTE: Although @plusauth/oidc-client-js follows semantic versioning, we advise using specific versions in CDN links as they are easy to forget and latest version may break up your application. Make sure to check releases and use the specific version.

<script src="https://unpkg.com/@plusauth/oidc-client-js@1.3.0/dist/oidc-client.min.js"></script>

Using npm:

npm install @plusauth/oidc-client-js

or yarn:

yarn add @plusauth/oidc-client-js

Documentation

Documentation is served on PlusAuth documentation site. You can reach it from here

Api Docs

Please visit here

Browser Support

Browserlist Coverage

This library uses global fetch api. If your app requires to be working in environment that does not have fetch you must use a polyfill like whatwg-fetch.

Examples

Have a look at examples directory for various examples

1.4.1

7 months ago

1.4.0

8 months ago

1.3.0

8 months ago

1.2.5

12 months ago

1.2.4

1 year ago

1.2.3

1 year ago

1.2.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.2

1 year ago

1.0.0

2 years ago