Installation
To use AppAuth-JS in your project, you can install it via npm or yarn.
Requirements
- Node.js: Version 20 or higher is recommended (check
.nvmrc). - TypeScript: If you are developing with TypeScript, version 5.4+ is used in this project.
Install via NPM
npm install @openid/appauth
Install via Yarn
yarn add @openid/appauth
Development Setup
If you want to contribute to the library or run the included samples:
-
Clone the repository:
git clone https://github.com/openid/AppAuth-JS.git cd AppAuth-JS -
Install dependencies:
npm install -
Build the project:
npm run compile