Skip to content

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications

License

Notifications You must be signed in to change notification settings

jasonmc86/oidc-client-js

This branch is 1 commit ahead of, 439 commits behind IdentityModel/oidc-client-js:dev.

Folders and files

NameName
Last commit message
Last commit date
May 2, 2018
May 2, 2018
Oct 4, 2017
May 2, 2018
Sep 23, 2017
Apr 27, 2016
Mar 31, 2015
Jun 18, 2017
Apr 6, 2017
Oct 20, 2016
Jul 23, 2015
Aug 18, 2016
Jun 18, 2016
May 25, 2016
Feb 12, 2018
Jan 10, 2018
Mar 23, 2016
Jan 10, 2018
Sep 2, 2017

Repository files navigation

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:5000.

Running the Tests

npm test

Docs

Some initial docs are here.

Feedback, Feature requests, and Bugs

All are welcome on the issue tracker.

About

OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%