🌜
🌞
oidc-client-maygo

oidc-client-maygo

v1.11.0

OpenID Connect (OIDC) & OAuth2 client library

npm install oidc-client-maygo

README

npm package

TEMP package, until https://github.com/IdentityModel/oidc-client-js/pull/1075 is merged

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.

Release Notes

1.11.0
By Brock Allen • Published on October 23, 2020

As part of this release we had 17 issues closed.

bugs

  • #1240 fixed a bug with Iframe width and height
  • #1238 Keep existing id_token if not in token result
  • #1189 Fix UserManager.signoutCallback typing
  • #1071 Properly decode plus character in URLS
  • #977 Minor fix in readSignoutResponseState
  • #925 Remove the check for "inside a frame"
  • #861 Problem merging claims when array with JSON

enhancements

  • #1272 Add MetadataService.resetSigningKeys() type
  • #1269 Add UserSignedIn hooks to UserManagerEvents type
  • #1260 fix:Add optional to MetadataService.getTokenEndpoint in inde…
  • #1229 add optional refresh_token to SigninResponse
  • #1223 Add defensive checks in IFrameWindow.js callback
  • #1204 Render invisible iframes for silentRenew on Firefox
  • #1203 🏷️ fix: Add types for UserInfoService
  • #1129 Upgrade core-js package on last 3.* version
  • #1060 Add client_secret_basic auth exchangeCode Method. IdentityModel/oidc-client-js#892
  • #559 Adds retry behavior while fetching JWKS keys.

General

License
Apache-2.0
Typescript Types
None found
Tree-shakeable
Yes

Popularity

GitHub Stargazers
2,354
Community Interest
3,065
Number of Forks
848

Maintenance

Commits
11/2110/2202
Last Commit
Open Issues
89
Closed Issues
1,063
Open Pull Requests
27
Closed Pull Requests
83

Versions

Versions Released
11/2110/2201
Latest Version Released
Oct 23, 2020
Current Tags
latest1.11.0

Contributors

brockallen
brockallen
Commits: 530
hmtylmz
hmtylmz
Commits: 11
maxmantz
maxmantz
Commits: 10
donalfenwick
donalfenwick
Commits: 4
HenrikWM
HenrikWM
Commits: 3
pmoleri
pmoleri
Commits: 3
robbaman
robbaman
Commits: 3
markphillips100
markphillips100
Commits: 3
longsleep
longsleep
Commits: 3
merijndejonge
merijndejonge
Commits: 3
rstaib
rstaib
Commits: 3
alexanderbh
alexanderbh
Commits: 3
volkc-basf
volkc-basf
Commits: 3
coolhome
coolhome
Commits: 3
charricknflx
charricknflx
Commits: 2