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 is a forked version of the oidc-client-js library, which has been archived and is no longer maintained. This version has been refactored from JavaScript to TypeScript. Trying to keep the API as compatible as possible. However we are aiming to modernize and simplify the library, which will have an effect on the API.
Contributions and help is much appreciated!
Some initial docs are here.
Using npm
$ npm install oidc-client-ts
$ git clone https://github.com/authts/oidc-client-ts.git
$ cd oidc-client-ts
$ npm install
$ npm run build
Parcel project
$ npm run -w parcel-sample start
Angular app
$ npm run -w angular-sample start
and then browse to http://localhost:1234.
$ npm test
We appreciate feedback and contribution to this repo!
This project is licensed under the Apache-2.0 license. See the LICENSE file for more info.