Skip to content

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications

License

Notifications You must be signed in to change notification settings

KumaravelPonnusamy/oidc-client-ts

This branch is 2 commits ahead of, 824 commits behind authts/oidc-client-ts:main.

Folders and files

NameName
Last commit message
Last commit date
Jan 25, 2023
Dec 22, 2021
Nov 9, 2021
Jan 30, 2023
Jan 8, 2023
Nov 9, 2021
Feb 7, 2023
Apr 29, 2022
Sep 18, 2021
Nov 4, 2021
Dec 22, 2021
Sep 24, 2021
May 11, 2022
Jan 9, 2020
Nov 8, 2022
Nov 21, 2021
Dec 2, 2022
Feb 6, 2023
Jan 18, 2023
Jan 13, 2022
Jan 13, 2022
Nov 3, 2021

Repository files navigation

oidc-client-ts

Stable Release CI Codecov

Library to provide OpenID Connect (OIDC) and OAuth2 protocol support for client-side, browser-based JavaScript client applications. Also included is support for user session and access token management.

This project is a fork of IdentityModel/oidc-client-js which halted its development in June 2021. It has since been ported to TypeScript here with a similar API for the initial 2.0 release. Going forward, this library will focus only on protocols that continue to have support in OAuth 2.1. As such, the implicit grant is not supported by this client. Additional migration notes from oidc-client are available here.

Contributions and help are greatly appreciated!

Implements the following OAuth 2.0 protocols and supports OpenID Connect Core 1.0:

Table of Contents

Installation

Using npm

$ npm install oidc-client-ts --save

Building the Source

$ git clone https://github.com/authts/oidc-client-ts.git
$ cd oidc-client-ts
$ npm install
$ npm run build

Running the Sample

Parcel project

$ cd samples/Parcel
$ npm install
$ npm run start

and then browse to http://localhost:1234.

Angular app

can be found here.

Running the Tests

$ npm test

Contributing

We appreciate feedback and contribution to this repo!

License

This project is licensed under the Apache-2.0 license. See the LICENSE file for more info.

About

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.0%
  • Other 1.0%