oidc-client-ts

OpenID Connect (OIDC) & OAuth2 client library

oidc-client-ts downloads oidc-client-ts version oidc-client-ts license

oidc-client-ts類似套件:
npm下載趨勢
3 年
🌟 在 oidc-client-ts 的 README.md 中顯示即時使用量圖表,只需複製下面的代碼。
## Usage Trend
[![Usage Trend of oidc-client-ts](https://npm-compare.com/img/npm-trend/THREE_YEARS/oidc-client-ts.png)](https://npm-compare.com/oidc-client-ts#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 在 oidc-client-ts 的 README.md 中顯示 GitHub stars 趨勢圖表,只需複製下面的代碼。
## GitHub Stars Trend
[![GitHub Stars Trend of oidc-client-ts](https://npm-compare.com/img/github-trend/oidc-client-ts.png)](https://npm-compare.com/oidc-client-ts)
統計詳情
套件
下載數
Stars
大小
Issues
發布時間
許可
oidc-client-ts673,6481,7711.67 MB1405 個月前Apache-2.0
oidc-client-ts 的 README

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.