- Notifications
You must be signed in to change notification settings - Fork0
OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
License
JavaScriptExpert/oidc-client-js
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
Node.js v4.4 or later required.
npm install oidc-client --save
NOTE: if you're not already usingbabel-polyfill make sure you runnpm install --save babel-polyfill
as well. Then include it in your build.
If you don't use a package manager or a module loader, then you can get the library from thedist
folder on githubhere.
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.
git clone https://github.com/IdentityModel/oidc-client-js.gitcd oidc-client-jsnpm installnpm run build
npm start
and then browse tohttp://localhost:5000.
npm test
Some initial docs arehere.
All are welcome on theissue tracker.
About
OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Languages
- JavaScript100.0%