Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oidc-client-ts

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oidc-client-ts - npm Package Compare versions

Comparing version 2.0.0-beta.3 to 2.0.0-rc.1

dist/browser/oidc-client-ts.js

29

package.json
{
"name": "oidc-client-ts",
"version": "2.0.0-beta.3",
"version": "2.0.0-rc.1",
"description": "OpenID Connect (OIDC) & OAuth2 client library",

@@ -11,5 +11,11 @@ "repository": {

"license": "Apache-2.0",
"main": "dist/oidc-client-ts.cjs",
"module": "dist/oidc-client-ts.mjs",
"types": "dist/oidc-client-ts.d.ts",
"main": "dist/umd/oidc-client-ts.js",
"types": "dist/types/oidc-client-ts.d.ts",
"exports": {
".": {
"import": "./dist/esm/oidc-client-ts.js",
"require": "./dist/umd/oidc-client-ts.js"
},
"./package.json": "./package.json"
},
"workspaces": [

@@ -30,11 +36,9 @@ "samples/*",

"scripts": {
"build": "npm run build-esm && npm run build-node && npm run build-browser && npm run build-browser-min && npm run build-types",
"build-esm": "esbuild src/index.ts --bundle --outfile=dist/oidc-client-ts.mjs --format=esm",
"build-node": "esbuild src/index.ts --bundle --outfile=dist/oidc-client-ts.cjs --platform=node",
"build-browser": "esbuild src/index.ts --bundle --outfile=dist/oidc-client-ts.js --platform=browser --global-name=oidc",
"build-browser-min": "npm run build-browser -- --minify --outfile=dist/oidc-client-ts.min.js",
"build": "node scripts/build.js && npm run build-types",
"build-types": "tsc --emitDeclarationOnly && api-extractor run",
"clean": "git clean -fdX dist",
"prepack": "npm run build",
"test": "tsc -p test/unit/tsconfig.json && jest",
"lint": "eslint --cache .",
"typedoc": "typedoc",
"lint": "eslint --max-warnings=0 --cache .",
"prepare": "husky install"

@@ -55,8 +59,9 @@ },

"eslint": "^7.32.0",
"eslint-plugin-testing-library": "^4.10.1",
"eslint-plugin-testing-library": "^5.0.0",
"http-proxy-middleware": "^2.0.1",
"husky": "^7.0.2",
"jest": "^27.2.0",
"lint-staged": "^11.1.2",
"lint-staged": "^12.0.2",
"ts-jest": "^27.0.5",
"typedoc": "^0.22.7",
"typescript": "~4.4.3"

@@ -63,0 +68,0 @@ },

@@ -10,21 +10,20 @@ # oidc-client-ts

This is a forked version of the [oidc-client-js](https://github.com/IdentityModel/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. The support for the outdated implicit flow has been removed.
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. The support for the outdated implicit flow has been removed. When migrating see [here](docs/migration.md).
**Contributions and help is much appreciated!**
Implements the following OAuth 2.0 protocols and supports [OpenID Connect](https://openid.net/specs/openid-connect-core-1_0.html):
- [Authorization Code Grant](https://oauth.net/2/grant-types/authorization-code/) with [PKCE](https://oauth.net/2/pkce/)
- [Refresh Token Grant](https://oauth.net/2/grant-types/refresh-token/)
## Table of Contents
- [Documentation](#documentation)
- [Installation](#installation)
- [Building the Source](#building-the-source)
- [Contributing](#contributing)
- [License](#license)
- [Documentation](https://authts.github.io/oidc-client-ts/)
- [Installation](#installation)
- [Building the Source](#building-the-source)
- [Contributing](#contributing)
- [License](#license)
## Documentation
Some initial docs are [here](https://github.com/IdentityModel/oidc-client-js/wiki).
## Installation

@@ -34,3 +33,3 @@

```console
```sh
$ npm install oidc-client-ts

@@ -42,3 +41,3 @@ ```

```console
```sh
$ git clone https://github.com/authts/oidc-client-ts.git

@@ -54,3 +53,3 @@ $ cd oidc-client-ts

```console
```sh
$ npm run -w parcel-sample start

@@ -67,3 +66,3 @@ ```

```console
```sh
$ npm test

@@ -77,4 +76,5 @@ ```

## License
This project is licensed under the Apache-2.0 license. See the [LICENSE](https://github.com/authts/oidc-client-ts/blob/main/LICENSE) file for more info.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc