oidc-client
OpenID Connect (OIDC) & OAuth2 client library
- Static
- Latest Patch
- Latest Minor
- Latest Major
- 1.11.5
- 1.11.4
- 1.11.3
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- 0.3.3
- 0.3.2
- 0.2.1
- 1.11.6-beta.1
- 1.11.0-beta.2
- 1.11.0-beta.1
- 1.10.0-beta.2
- 1.10.0-beta.1
- 1.9.0-beta.6
- 1.9.0-beta.5
- 1.9.0-beta.4
- 1.9.0-beta.3
- 1.9.0-beta.2
- 1.9.0-beta.1
- 1.7.1-beta.1
- 1.7.0-beta.1
- 1.6.0-beta.2
- 1.6.0-beta.1
- 1.5.3-beta.1
- 1.5.2-beta.3
- 1.5.2-beta.2
- 1.5.2-beta.1
- 1.5.1-beta.1
- 1.5.0-beta.4
- 1.5.0-beta.3
- 1.5.0-beta.2
- 1.5.0-beta.1
- 1.4.1-beta.1
- 1.4.0-beta.2
- 1.4.0-beta.1
- 1.3.0-beta.4
- 1.3.0-beta.3
- 1.3.0-beta.2
- 1.3.0-beta.1
- 1.2.1-beta.4
- 1.2.1-beta.3
- 1.2.1-beta.2
- 1.2.1-beta.1
- 1.2.0-beta.6
- 1.2.0-beta.5
- 1.2.0-beta.4
- 1.2.0-beta.3
- 1.2.0-beta.2
- 1.2.0-beta.1
- 1.1.0-beta.5
- 1.1.0-beta.4
- 1.1.0-beta.3
- 1.1.0-beta.2
- 1.1.0-beta.1
- 1.0.0-beta.7
- 1.0.0-beta.6
- 1.0.0-beta.5
- 1.0.0-beta.4
- 1.0.0-beta.3
- 1.0.0-beta.2
- 1.0.0-beta.1
oidc-client
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.
Install
Node.js
Node.js v4.4 or later required.
NPM
npm install oidc-client --save
NOTE: if you're not already using babel-polyfill make sure you run
npm install --save babel-polyfill
as well. Then include it in your build.
CommonJS
If you don't use a package manager or a module loader, then you can get the library from the dist
folder on github here.
Including in the browser
If you intend to use this library directly in a browser and are not using UMD/AMD then there is a compiled version in the ~/dist folder. It is already bundled/minified and contains the necessary dependencies and polyfills (mainly for ES6 features such as Promises).
If you are using UMD/AMD and/or you already have included an ES6 polyfill (such as babel-polyfill.js) then you can include the UMD packaged version of the file from the ~/lib folder.
Building the Source
git clone https://github.com/IdentityModel/oidc-client-js.git
cd oidc-client-js
npm install
npm run build
Running the Sample
npm start
and then browse to http://localhost:15000.
Running the Tests
npm test
Docs
Some initial docs are here.
Feedback, Feature requests, and Bugs
All are welcome on the issue tracker.